diff options
| author | Dennis Lee <dennis@dennislee.xyz> | 2020-04-04 12:55:06 -0700 |
|---|---|---|
| committer | Dennis Lee <dennis@dennislee.xyz> | 2020-04-04 12:55:06 -0700 |
| commit | 82cf021b78d235ca98df61d4ce55d4c0969c2e5f (patch) | |
| tree | 9c8f0ce7156eb85acc78cc1e11b180cac337f5c8 /.local/bin | |
| parent | 2b572b2a89de8aca631de686e25f2f5d306a91bd (diff) | |
| download | eibhear-82cf021b78d235ca98df61d4ce55d4c0969c2e5f.tar.gz eibhear-82cf021b78d235ca98df61d4ce55d4c0969c2e5f.tar.zst eibhear-82cf021b78d235ca98df61d4ce55d4c0969c2e5f.zip | |
substitute ~/.local/share with $XDG_DATA_HOME
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/dmenuunicode | 2 | ||||
| -rwxr-xr-x | .local/bin/getkeys | 4 | ||||
| -rwxr-xr-x | .local/bin/podentr | 2 | ||||
| -rwxr-xr-x | .local/bin/statusbar/help | 2 | ||||
| -rwxr-xr-x | .local/bin/statusbar/mailbox | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/.local/bin/dmenuunicode b/.local/bin/dmenuunicode index 12240e7..df8c7a0 100755 --- a/.local/bin/dmenuunicode +++ b/.local/bin/dmenuunicode @@ -5,7 +5,7 @@ # Must have xclip installed to even show menu. xclip -h 2>/dev/null || exit 1 -chosen=$(cut -d ';' -f1 ~/.local/share/larbs/emoji | dmenu -i -l 20 | sed "s/ .*//") +chosen=$(cut -d ';' -f1 $XDG_DATA_HOME/larbs/emoji | dmenu -i -l 20 | sed "s/ .*//") [ "$chosen" != "" ] || exit diff --git a/.local/bin/getkeys b/.local/bin/getkeys index 8871d41..0a12d22 100755 --- a/.local/bin/getkeys +++ b/.local/bin/getkeys @@ -1,5 +1,5 @@ #!/bin/sh -cat ~/.local/share/larbs/getkeys/"$1" 2>/dev/null && exit +cat $XDG_DATA_HOME/larbs/getkeys/"$1" 2>/dev/null && exit echo "Run command with one of the following arguments for info about that program:" -ls ~/.local/share/larbs/getkeys +ls $XDG_DATA_HOME/larbs/getkeys diff --git a/.local/bin/podentr b/.local/bin/podentr index e765c58..5bdc0ca 100755 --- a/.local/bin/podentr +++ b/.local/bin/podentr @@ -4,4 +4,4 @@ [ "$(pgrep -x $(basename $0) | wc -l)" -gt 2 ] && exit -echo ~/.local/share/newsboat/queue | entr -p queueandnotify 2>/dev/null +echo $XDG_DATA_HOME/newsboat/queue | entr -p queueandnotify 2>/dev/null diff --git a/.local/bin/statusbar/help b/.local/bin/statusbar/help index d7345dc..d58f5cc 100755 --- a/.local/bin/statusbar/help +++ b/.local/bin/statusbar/help @@ -1,7 +1,7 @@ #!/bin/sh case $BLOCK_BUTTON in - 1) groff -mom ~/.local/share/larbs/readme.mom -Tpdf | zathura - ;; + 1) groff -mom $XDG_DATA_HOME/larbs/readme.mom -Tpdf | zathura - ;; 2) i3 restart ;; 3) pgrep -x dunst >/dev/null && notify-send "❓ Help module" "\- Left click to open LARBS guide. - Middle click to refresh i3.";; diff --git a/.local/bin/statusbar/mailbox b/.local/bin/statusbar/mailbox index 3ace5f5..72d4511 100755 --- a/.local/bin/statusbar/mailbox +++ b/.local/bin/statusbar/mailbox @@ -13,7 +13,7 @@ case $BLOCK_BUTTON in - Middle click syncs mail" ;; esac -unread="$(find ~/.local/share/mail/*/INBOX/new/* -type f | wc -l 2>/dev/null)" +unread="$(find $XDG_DATA_HOME/mail/*/INBOX/new/* -type f | wc -l 2>/dev/null)" icon="$(cat "/tmp/imapsyncicon_$USER")" |
