aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/waybar/config.jsonc12
1 files changed, 6 insertions, 6 deletions
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"
},