From d34141a273a7330c80970224915b2abf110406e8 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 8 Sep 2026 21:05:52 +0100 Subject: [PATCH] Update clock --- .config/waybar/config.jsonc | 2 +- .config/waybar/indicators/statusbar/sb-clock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 564e321..92f15f1 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -51,7 +51,7 @@ "on-click-right": "ghostty" }, "clock": { - "format": "{:L%A %H:%M}", + "format": "{:L%a %b %d %H:%M}", "format-alt": "{:L%d %B W%V %Y}", "tooltip": false, "on-click-right": "station-launch-floating-terminal-with-presentation station-tz-select" diff --git a/.config/waybar/indicators/statusbar/sb-clock b/.config/waybar/indicators/statusbar/sb-clock index d574411..fcceeb1 100755 --- a/.config/waybar/indicators/statusbar/sb-clock +++ b/.config/waybar/indicators/statusbar/sb-clock @@ -1,11 +1,11 @@ #!/bin/sh case $BLOCK_BUTTON in - 1) notify-send "This Month" "$(cal --color=always | sed "s/..7m//;s/..27m/<\/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" ;; - 6) "$TERMINAL" -e "$EDITOR" "$0" ;; + 1) notify-send "This Month" "$(cal --color=always | sed "s/..7m//;s/..27m/<\/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" ;; + 6) "$TERMINAL" -e "$EDITOR" "$0" ;; esac date "+%b %d %I:%M%p"