From 8237e2ba3b1c224ce5f05673fa47312e69d4980c Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Tue, 27 Oct 2020 14:27:56 -0400 Subject: move fonts to subfolders --- .local/bin/dwmbar/dwmb-battery | 6 ++---- .local/bin/dwmbar/dwmb-news | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) (limited to '.local/bin') 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 -- cgit v1.2.3