blob: a0312f3dacd7bc7a7d08df88d658ff00f7ef341d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
# Shows an emoji with the phase of the moon
pom | grep -q "New Moon" && moon=🌑
pom | grep -q "Waxing Crescent" && moon=🌒
pom | grep -q "First Quarter" && moon=🌓
pom | grep -q "Waxing Gibbous" && moon=🌔
pom | grep -q "Full moon" && moon=🌕
pom | grep -q "Waning Gibbous" && moon=🌖
pom | grep -q "Last Quarter" && moon=🌗
pom | grep -q "Waning Crescent" && moon=🌘
echo "$moon"
|