aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorawy <awy@awy.one>2025-10-02 19:57:36 +0300
committerawy <awy@awy.one>2025-10-02 19:57:36 +0300
commitea33d31de523ca7752d4cf915c08d4599771362e (patch)
tree793025bbb06c0f4a339f1c5d725662b4bb409b79
parent739caec13cf57c010b5a6b51a2f0227c32d04a20 (diff)
downloadhyprdots-ea33d31de523ca7752d4cf915c08d4599771362e.tar.gz
mouse battery status
-rw-r--r--.config/waybar/config.jsonc14
-rw-r--r--.config/waybar/style.css1
-rw-r--r--dependencies.txt1
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