diff options
Diffstat (limited to 'polybar/scripts/polybar/cal.sh')
-rwxr-xr-x | polybar/scripts/polybar/cal.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/polybar/scripts/polybar/cal.sh b/polybar/scripts/polybar/cal.sh new file mode 100755 index 0000000..96374f0 --- /dev/null +++ b/polybar/scripts/polybar/cal.sh @@ -0,0 +1,6 @@ +#!/bin/sh +cal=$(ncal -3 \ + | sed 's|_\(.\)|<span background="white" foreground="black">\1</span>|' \ + | sed 's|_\(.\)|<span background="white" foreground="black">\1</span>|' \ + | sed 's|\s*$||') +rofi -markup -width -55 -lines 8 -location 3 -e "$cal" |