summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2020-10-27 14:27:56 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2020-10-27 14:27:56 -0400
commit8237e2ba3b1c224ce5f05673fa47312e69d4980c (patch)
treec3877c274e7d5d915302cd6dd2d03a3d58c5e7ec /.local/bin/dwmbar
parentbdbd07823796973d11536dc05dc1cf7bb11f2341 (diff)
move fonts to subfolders
Diffstat (limited to '.local/bin/dwmbar')
-rwxr-xr-x.local/bin/dwmbar/dwmb-battery6
-rwxr-xr-x.local/bin/dwmbar/dwmb-news1
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