diff options
| author | Stepan Chernov <58429587+pikodd@users.noreply.github.com> | 2024-05-11 15:56:27 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-11 12:56:27 +0000 |
| commit | 97f2fa3872da7b173daa9650d747a25ee41fc47f (patch) | |
| tree | 4f89aab351dffa8a831e824a311bf80cae31bd62 /.local | |
| parent | db8ee0df793246ed99152c490d29cdd21d45ed12 (diff) | |
| download | eibhear-97f2fa3872da7b173daa9650d747a25ee41fc47f.tar.gz eibhear-97f2fa3872da7b173daa9650d747a25ee41fc47f.tar.zst eibhear-97f2fa3872da7b173daa9650d747a25ee41fc47f.zip | |
Update sb-clock to fix display issue (#1380)
Co-authored-by: Stepan Chernov <me@chernov.land>
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 ac12aac..85f1d34 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')\>/<b><span color='red'>&<\/span><\/b>/")" && notify-send "Appointments" "$(calcurse -d3)" ;; + 1) notify-send "This Month" "$(cal | sed "s/\<$(date +'%e'|sed 's/ //g')\>/<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" ;; |
