diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2019-05-22 10:24:27 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2019-05-22 10:24:27 +0200 |
commit | ccc0247b0d25a7cfc1747ceca369d4386bdfbb21 (patch) | |
tree | 8515f32d972baa9e58f1053e67c10bd0031b5709 /i3blocks | |
parent | 339e3dac53099fecd2e54b9f557b15e2530618c3 (diff) | |
download | scripts-ccc0247b0d25a7cfc1747ceca369d4386bdfbb21.tar.gz scripts-ccc0247b0d25a7cfc1747ceca369d4386bdfbb21.zip |
Renamed mailbox and moon scripts and added click to moon.
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" |