diff options
author | ensa <psii@riseup.net> | 2020-07-08 15:32:24 -0700 |
---|---|---|
committer | ensa <psii@riseup.net> | 2020-07-08 15:32:24 -0700 |
commit | eec480ccb22f3166d723befc9522e8a25eabf8c1 (patch) | |
tree | 28ec200089f6d5797a06590defcb1c4ccf254c7c /bin/bother | |
parent | 4606fd8469199d5497b4b2fa4ea74d237ec9688b (diff) | |
download | cfg-eec480ccb22f3166d723befc9522e8a25eabf8c1.tar.gz |
catgirl-open.sh simplified, lh now handles stdin
bin/ bar.sh: doesn't specify width (defaults to display width) bother: incorrectly used last, now uses tail uses : instead of true (telling the shell to do nothing) catgirl-open.sh: tabbed now called with -c, network chosen before invoking tabbed just tests xprop instead of hacky $? handling comm-sel: no longer specifies config directory for cordless (cordless does this correctly now) lh: if no arguments are given, set $1 to standard input. turned actual link handling into a loop, lh can now be sent multiple links and handle them all in sequence.
Diffstat (limited to 'bin/bother')
-rwxr-xr-x | bin/bother | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/bother b/bin/bother index d63d899..a9d55ca 100755 --- a/bin/bother +++ b/bin/bother @@ -12,12 +12,12 @@ if grep -q "dwm" $XFILE; then elif grep -q 'exec' $XFILE; then WM=$(grep 'exec' $XFILE|cut -f 2 -d ' ' -) else - WM=$(last -1 $XFILE) + WM=$(tail -1 $XFILE) fi if [ -f "$HOME"/today ]; then until pgrep $WM>/dev/null do - true + : done sleep 0.5 notify-send -u critical "DO TODAY:" "$(cat "$HOME"/today)" |