From ea33d31de523ca7752d4cf915c08d4599771362e Mon Sep 17 00:00:00 2001 From: awy Date: Thu, 2 Oct 2025 19:57:36 +0300 Subject: mouse battery status --- .config/waybar/config.jsonc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to '.config/waybar/config.jsonc') diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index aaad23e..a830c3f 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -23,6 +23,7 @@ "custom/mailbox", "wireplumber#source", "wireplumber#sink", + "custom/mouse", "clock", // "custom/internet", "tray" @@ -273,6 +274,19 @@ "on-click-right": "notify-send \"🎙️ Microphone volume module\" \"\\- Shows volume 🎙️,  if muted.\n- Middle click to mute.\n- Scroll to change.\"" }, + "custom/mouse" : { + "cursor": false, + "tooltip": false, + "format": "{}", + "signal": 24, + "exec" : "sb-mouse", + "interval": 60, + "on-click": "BLOCK_BUTTON=1 sb-mouse", + "on-click-right": "BLOCK_BUTTON=3 sb-mouse", + "on-click-middle": "pkill -RTMIN+24 waybar", + "on-click-backward": "BLOCK_BUTTON=8 sb-mouse" + }, + "clock" : { "tooltip": false, "cursor": false, -- cgit v1.2.3