summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar
diff options
context:
space:
mode:
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