diff options
| author | Alec Goncharow <alec@goncharow.dev> | 2022-12-04 18:23:46 -0600 |
|---|---|---|
| committer | Alec Goncharow <alec@goncharow.dev> | 2022-12-04 18:23:46 -0600 |
| commit | 1ec73cc2c14d2f62c32046d9585c3a745531d37a (patch) | |
| tree | 8b9c6b2e5ba43ce1248c114758a55df9467cab64 /.config/i3blocks/scripts/rofi-calendar | |
| parent | b257edf16c9b8b14ebb542e857a29c74fea00495 (diff) | |
Fresh start
Diffstat (limited to '.config/i3blocks/scripts/rofi-calendar')
| -rwxr-xr-x | .config/i3blocks/scripts/rofi-calendar | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/.config/i3blocks/scripts/rofi-calendar b/.config/i3blocks/scripts/rofi-calendar deleted file mode 100755 index e1f12d0..0000000 --- a/.config/i3blocks/scripts/rofi-calendar +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/sh - -blockdate=$(date '+%a. %d. %b. %Y') - -case "$BLOCK_BUTTON" in - 1|2|3) date=$(date '+%A, %d. %B') -export TERM=xterm -cal --color=always \ - | sed 's/\x1b\[[7;]*m/\<b\>\<u\>/g' \ - | sed 's/\x1b\[[27;]*m/\<\/u\>\<\/b\>/g' \ - | tail -n +2 \ - | rofi \ - -dmenu \ - -markup-rows \ - -no-fullscreen \ - -font "Monospace 6" \ - -hide-scrollbar \ - -bw 2 \ - -m -3 \ - -theme-str '#window {anchor:northeast; location: southeast;}' \ - -eh 1 \ - -width -22 \ - -no-custom \ - -no-config \ - -p "$date" > /dev/null - esac -echo $blockdate -date '+%d.%m.%Y' |
