added scroll up to increase/scroll down to decrease for waybar fan module

This commit is contained in:
Joel Mathew Thomas
2024-04-11 02:08:51 +05:30
parent d381bd4bb8
commit a1d173baf7
4 changed files with 49 additions and 10 deletions
+4 -1
View File
@@ -123,9 +123,12 @@
"return-type": "json",
"exec": "~/.local/bin/fanstat",
"interval": 1,
"smooth-scrolling-threshold": 5,
"on-scroll-up": "~/.local/bin/fanctl incr",
"on-scroll-down": "~/.local/bin/fanctl decr",
"on-click": "~/.local/bin/fanctl min",
"on-click-right": "~/.local/bin/fanctl max",
"on-click-middle": "~/.local/bin/fanctl auto"
"on-click-double": "~/.local/bin/fanctl auto"
},
"custom/quit": {
"format": " 󰗼 ",