diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2020-10-27 14:27:56 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2020-10-27 14:27:56 -0400 |
commit | 8237e2ba3b1c224ce5f05673fa47312e69d4980c (patch) | |
tree | c3877c274e7d5d915302cd6dd2d03a3d58c5e7ec /.local/bin | |
parent | bdbd07823796973d11536dc05dc1cf7bb11f2341 (diff) |
move fonts to subfolders
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/dwmbar/dwmb-battery | 6 | ||||
-rwxr-xr-x | .local/bin/dwmbar/dwmb-news | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/.local/bin/dwmbar/dwmb-battery b/.local/bin/dwmbar/dwmb-battery index c8a748b..5f3759e 100755 --- a/.local/bin/dwmbar/dwmb-battery +++ b/.local/bin/dwmbar/dwmb-battery @@ -1,10 +1,8 @@ #!/bin/sh case $BLOCK_BUTTON in - 1) notify-send hey ;; - 2) setsid -f "$TERMINAL" -e calcurse ;; - 3) notify-send " Time/date module" "\- Left click to show upcoming appointments for the next three days via \`calcurse -d3\` and show the month via \`cal\` -- Middle click opens calcurse if installed" ;; + 1) notify-send -a " Battery" "$(acpi -b)" ;; + 3) notify-send -a " Battery" "$(acpi -V)" ;; 6) "$TERMINAL" -e "$EDITOR" "$0" ;; esac diff --git a/.local/bin/dwmbar/dwmb-news b/.local/bin/dwmbar/dwmb-news index 4318040..b62c576 100755 --- a/.local/bin/dwmbar/dwmb-news +++ b/.local/bin/dwmbar/dwmb-news @@ -4,5 +4,6 @@ nb=$(cat /tmp/newsupdate 2>/dev/null || echo "$(newsboat -x print-unread | awk ' echo " $nb" case $BLOCK_BUTTON in 1) "$TERMINAL" -e newsboat ;; + 3) newsup ;; 6) "$TERMINAL" -e "$EDITOR" "$0" ;; esac |