feat(waybar): add power menu module to waybar config
Add custom power menu module to waybar configuration with power icon and SUPER+X keyboard shortcut that launches fws-powermenu utility.
This commit is contained in:
@@ -8,7 +8,13 @@
|
|||||||
"margin-right": 10,
|
"margin-right": 10,
|
||||||
"modules-left": ["hyprland/workspaces", "hyprland/window"],
|
"modules-left": ["hyprland/workspaces", "hyprland/window"],
|
||||||
"modules-center": ["clock"],
|
"modules-center": ["clock"],
|
||||||
"modules-right": ["custom/updates", "custom/keyhelp", "backlight", "pulseaudio", "bluetooth", "network", "cpu", "memory", "battery", "tray"],
|
"modules-right": ["custom/updates", "custom/keyhelp", "backlight", "pulseaudio", "bluetooth", "network", "cpu", "memory", "battery", "tray", "custom/power"],
|
||||||
|
|
||||||
|
"custom/power": {
|
||||||
|
"format": "",
|
||||||
|
"tooltip-format": "Alimentation (SUPER+X)",
|
||||||
|
"on-click": "fws-powermenu"
|
||||||
|
},
|
||||||
|
|
||||||
"custom/updates": {
|
"custom/updates": {
|
||||||
"exec": "fws-updates-check",
|
"exec": "fws-updates-check",
|
||||||
|
|||||||
Reference in New Issue
Block a user