diff options
Diffstat (limited to 'i3blocks')
-rwxr-xr-x | i3blocks/i3mailbox.sh (renamed from i3blocks/mailbox.sh) | 0 | ||||
-rwxr-xr-x | i3blocks/i3moon.sh (renamed from i3blocks/moon.sh) | 5 |
2 files changed, 5 insertions, 0 deletions
diff --git a/i3blocks/mailbox.sh b/i3blocks/i3mailbox.sh index 89fb49a..89fb49a 100755 --- a/i3blocks/mailbox.sh +++ b/i3blocks/i3mailbox.sh diff --git a/i3blocks/moon.sh b/i3blocks/i3moon.sh index a0312f3..fcb45dc 100755 --- a/i3blocks/moon.sh +++ b/i3blocks/i3moon.sh @@ -10,5 +10,10 @@ pom | grep -q "Full moon" && moon=🌕 pom | grep -q "Waning Gibbous" && moon=🌖 pom | grep -q "Last Quarter" && moon=🌗 pom | grep -q "Waning Crescent" && moon=🌘 + +case $BLOCK_BUTTON in + 1) dunstify "$moon $(pom) $moon";; +esac + echo "$moon" |