added fan module in waybar

This commit is contained in:
Joel Mathew Thomas
2024-04-11 01:01:50 +05:30
parent c6aa25647e
commit d381bd4bb8
+11
View File
@@ -108,6 +108,7 @@
},
"modules": [
"user",
"custom/fan",
"idle_inhibitor",
"custom/quit",
"custom/sleep",
@@ -116,6 +117,16 @@
"custom/power"
]
},
"custom/fan": {
"format": " 󰈐 ",
"tooltip": true,
"return-type": "json",
"exec": "~/.local/bin/fanstat",
"interval": 1,
"on-click": "~/.local/bin/fanctl min",
"on-click-right": "~/.local/bin/fanctl max",
"on-click-middle": "~/.local/bin/fanctl auto"
},
"custom/quit": {
"format": " 󰗼 ",
"tooltip": false,