From e2582256e7c02aed3af591017427f068d2ebaa4e Mon Sep 17 00:00:00 2001 From: awy Date: Thu, 11 Sep 2025 17:52:23 +0300 Subject: updates --- .config/waybar/config.jsonc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to '.config') diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index fd1bb09..19d75e2 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -199,9 +199,9 @@ "signal": 12, "exec" : "stmail", "interval" : 180, - "on-click": "setsid -w -f \"$TERMINAL\" -e neomutt ; pkill -RTMIN+12 \"${STATUSBAR:-waybar}\"", - "on-click-right": "notify-send \" Mail module\" \"\\- Shows unread mail\n- Shows  if syncing mail\n- Left click opens neomutt\n- Middle click to mute.\"", - "on-click-middle": "setsid -f mailup", + "on-click": "BLOCK_BUTTON=1 stmail", + "on-click-right": "BLOCK_BUTTON=3 stmail", + "on-click-middle": "BLOCK_BUTTON=2 stmail", "on-click-backward": "setsid -f \"$TERMINAL\" -e $EDITOR ~/.local/src/statusbar/src/stmail.c" }, @@ -272,9 +272,9 @@ "signal": 1, "exec" : "stclock", "interval" : 1, - "on-click": "notify-send \"This Month\" \"$(cal)\" && notify-send \"Appointments\" \"$(calcurse -d3)\"", - "on-click-middle": "setsid -f \"$TERMINAL\" -e calcurse", - "on-click-right": "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\\`\n- Middle click opens calcurse if installed\"", + "on-click": "BLOCK_BUTTON=1 stclock", + "on-click-middle": "BLOCK_BUTTON=2 stclock", + "on-click-right": "BLOCK_BUTTON=3 stclock", "on-click-backward": "setsid -f \"$TERMINAL\" -e $EDITOR ~/.local/src/statusbar/src/stclock.c" }, -- cgit v1.2.3