diff options
| author | thetubster99 <159262428+thetubster99@users.noreply.github.com> | 2024-05-23 22:23:16 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-23 22:23:16 +0000 |
| commit | 7a9bfe6f699805980e79d0bf7674a5866be2b083 (patch) | |
| tree | 35c14bcd17329e370eeb5c9f7d8139965172ccc5 /.local | |
| parent | c95a16916d5c71288e5e49a78d0621943c89a682 (diff) | |
| download | eibhear-7a9bfe6f699805980e79d0bf7674a5866be2b083.tar.gz eibhear-7a9bfe6f699805980e79d0bf7674a5866be2b083.tar.zst eibhear-7a9bfe6f699805980e79d0bf7674a5866be2b083.zip | |
Tiny fix and optimization
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/statusbar/sb-clock | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/sb-clock b/.local/bin/statusbar/sb-clock index 85f1d34..e9c2fe6 100755 --- a/.local/bin/statusbar/sb-clock +++ b/.local/bin/statusbar/sb-clock @@ -19,7 +19,7 @@ case "$clock" in esac case $BLOCK_BUTTON in - 1) notify-send "This Month" "$(cal | sed "s/\<$(date +'%e'|sed 's/ //g')\>/<b><span color='red'>&<\/span><\/b>/")" && notify-send "Appointments" "$(calcurse -d3)" ;; + 1) notify-send "This Month" "$(cal | sed "s/\<$(date +'%e'|tr -d ' ')\>/<b><span color='red'>&<\/span><\/b>/")" && notify-send "Appointments" "$(calcurse -d3)" ;; 2) setsid -f "$TERMINAL" -e calcurse ;; 3) notify-send "📅 Time/date module" "\- Left click to show upcoming appointments for the next three days via \`calcurse -d3\` and show the month via \`cal\` - Middle click opens calcurse if installed" ;; |
