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/myCalendar | |
| parent | b257edf16c9b8b14ebb542e857a29c74fea00495 (diff) | |
Fresh start
Diffstat (limited to '.config/i3blocks/scripts/myCalendar')
| -rwxr-xr-x | .config/i3blocks/scripts/myCalendar | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/.config/i3blocks/scripts/myCalendar b/.config/i3blocks/scripts/myCalendar deleted file mode 100755 index d1557ba..0000000 --- a/.config/i3blocks/scripts/myCalendar +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -# this is a simple bash script / blocklet for i3blocks -# that will open a new termite instance with 'cal' when clicked - -datefmt='+%a %Y-%m-%d %H:%M:%S' - -while getopts "f:" opt; do - case $opt in - f) datefmt="$OPTARG" ;; - esac -done - -case "$BLOCK_BUTTON" in 1|2|3) - exec termite -e "bash -c 'cal -Y'" --hold & disown -esac - -date "$datefmt" |
