Add power profile and fan strategy waybar modules - scripts/power-profile.sh: waybar module + wofi menu for powerprofilesctl - scripts/fan-profile.sh: waybar module + wofi menu for fw-fanctrl - waybar/config.jsonc: add custom/power-profile and custom/fan-profile modules - waybar/style.css: add padding and class colors for new modules - packages.txt: add power-profiles-daemon and fw-fanctrl - install.sh: symlink new scripts to ~/.local/bin
This commit is contained in:
+17
-1
@@ -5,7 +5,23 @@
|
||||
|
||||
"modules-left": ["niri/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["pulseaudio", "network", "battery", "tray"],
|
||||
"modules-right": ["custom/power-profile", "custom/fan-profile", "pulseaudio", "network", "battery", "tray"],
|
||||
|
||||
"custom/power-profile": {
|
||||
"exec": "~/.local/bin/power-profile",
|
||||
"return-type": "json",
|
||||
"interval": 30,
|
||||
"signal": 8,
|
||||
"on-click": "~/.local/bin/power-profile --menu"
|
||||
},
|
||||
|
||||
"custom/fan-profile": {
|
||||
"exec": "~/.local/bin/fan-profile",
|
||||
"return-type": "json",
|
||||
"interval": 5,
|
||||
"signal": 9,
|
||||
"on-click": "~/.local/bin/fan-profile --menu"
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": "{:%a %b %d %H:%M}"
|
||||
|
||||
Reference in New Issue
Block a user