mirror of
https://github.com/duma799/hyprduma-config.git
synced 2026-05-14 14:41:00 +00:00
Waybar is visible only on my main Monitor(tune for your setup), added power profiles script + icon, removed battery percentage.
This commit is contained in:
+14
-5
@@ -1,10 +1,11 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"output": "HDMI-A-1",
|
||||
"reload_style_on_change": true,
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["group/expand","pulseaudio","bluetooth","network","battery"],
|
||||
"modules-right": ["group/expand","pulseaudio","bluetooth","network","custom/power-profile","battery"],
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"format": "{name}",
|
||||
@@ -55,10 +56,10 @@
|
||||
"warning": 30,
|
||||
"critical": 20
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-plugged": "{capacity}% ",
|
||||
"format-alt": "{time} {icon}",
|
||||
"format": "{icon}",
|
||||
"format-charging": "",
|
||||
"format-plugged": "",
|
||||
"tooltip-format": "{capacity}%",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
@@ -68,6 +69,14 @@
|
||||
""
|
||||
]
|
||||
},
|
||||
"custom/power-profile": {
|
||||
"format": "{}",
|
||||
"return-type": "json",
|
||||
"interval": 10,
|
||||
"exec": "~/hyprduma-config/waybar/scripts/power-profile.sh",
|
||||
"on-click": "~/hyprduma-config/waybar/scripts/power-profile.sh --cycle && pkill -RTMIN+8 waybar",
|
||||
"signal": 8
|
||||
},
|
||||
"custom/expand": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
|
||||
Reference in New Issue
Block a user