From 7a9bfe6f699805980e79d0bf7674a5866be2b083 Mon Sep 17 00:00:00 2001 From: thetubster99 <159262428+thetubster99@users.noreply.github.com> Date: Thu, 23 May 2024 22:23:16 +0000 Subject: Tiny fix and optimization --- .local/bin/statusbar/sb-clock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local') 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')\>/&<\/span><\/b>/")" && notify-send "Appointments" "$(calcurse -d3)" ;; + 1) notify-send "This Month" "$(cal | sed "s/\<$(date +'%e'|tr -d ' ')\>/&<\/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" ;; -- cgit v1.3.1