summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorthetubster99 <159262428+thetubster99@users.noreply.github.com>2024-05-23 22:23:16 +0000
committerGitHub <noreply@github.com>2024-05-23 22:23:16 +0000
commit7a9bfe6f699805980e79d0bf7674a5866be2b083 (patch)
tree35c14bcd17329e370eeb5c9f7d8139965172ccc5 /.local/bin
parentc95a16916d5c71288e5e49a78d0621943c89a682 (diff)
downloadeibhear-7a9bfe6f699805980e79d0bf7674a5866be2b083.tar.gz
eibhear-7a9bfe6f699805980e79d0bf7674a5866be2b083.tar.zst
eibhear-7a9bfe6f699805980e79d0bf7674a5866be2b083.zip
Tiny fix and optimization
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/statusbar/sb-clock2
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" ;;