aboutsummaryrefslogtreecommitdiff
path: root/polybar/scripts
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2021-10-24 21:55:02 +0200
committerSébastien Dailly <sebastien@chimrod.com>2021-10-24 21:55:02 +0200
commit4e1bd1e207f96ec705152e7284fcaceb135182a8 (patch)
tree38106b47bf1bc0a1a12d879bc67a513238d32a92 /polybar/scripts
parent6a4662677712caf3a511fac4aa4e0afaf98947d0 (diff)
Bspwm configuration
Diffstat (limited to 'polybar/scripts')
-rwxr-xr-xpolybar/scripts/polybar/cal.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/polybar/scripts/polybar/cal.sh b/polybar/scripts/polybar/cal.sh
deleted file mode 100755
index a69d088..0000000
--- a/polybar/scripts/polybar/cal.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-# Add a fake tty to get the day highlight
-# https://stackoverflow.com/a/32981392
-faketty () {
- script -qfec "$(printf "%q " "$@")"
-}
-
-# Get the max line width
-width=$(ncal -3 | wc -L)
-
-cal=$(faketty ncal -3 \
- | sed 's|_\(.\)|<span background="white" foreground="black">\1</span>|g' \
- | sed 's|\s*$||')
-rofi -font "mono 9" -markup -width -"${width}" -lines 8 -location 3 -e "${cal}"