diff options
author | awy <awy@awy.one> | 2025-10-02 19:57:36 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2025-10-02 19:57:36 +0300 |
commit | ea33d31de523ca7752d4cf915c08d4599771362e (patch) | |
tree | 793025bbb06c0f4a339f1c5d725662b4bb409b79 | |
parent | 739caec13cf57c010b5a6b51a2f0227c32d04a20 (diff) | |
download | hyprdots-ea33d31de523ca7752d4cf915c08d4599771362e.tar.gz |
mouse battery status
-rw-r--r-- | .config/waybar/config.jsonc | 14 | ||||
-rw-r--r-- | .config/waybar/style.css | 1 | ||||
-rw-r--r-- | dependencies.txt | 1 |
3 files changed, 16 insertions, 0 deletions
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, diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 72e4f21..3b48ec5 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -90,6 +90,7 @@ window#waybar.hidden { #custom-media, #custom-music, #custom-recording, +#custom-mouse, #custom-internet, #image, #tray, diff --git a/dependencies.txt b/dependencies.txt index 708accb..c741a16 100644 --- a/dependencies.txt +++ b/dependencies.txt @@ -87,6 +87,7 @@ mandoc calcurse cmake tllist +solaar # TESSEN DEPS # gopass |