added fan module in waybar
This commit is contained in:
@@ -108,6 +108,7 @@
|
|||||||
},
|
},
|
||||||
"modules": [
|
"modules": [
|
||||||
"user",
|
"user",
|
||||||
|
"custom/fan",
|
||||||
"idle_inhibitor",
|
"idle_inhibitor",
|
||||||
"custom/quit",
|
"custom/quit",
|
||||||
"custom/sleep",
|
"custom/sleep",
|
||||||
@@ -116,6 +117,16 @@
|
|||||||
"custom/power"
|
"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": {
|
"custom/quit": {
|
||||||
"format": " ",
|
"format": " ",
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
|
|||||||
Reference in New Issue
Block a user