feat: waybar laptop brightness

This commit is contained in:
hesam-init 2024-05-10 22:14:35 +03:30
parent ba374e29bd
commit 0ac9ab8f7e

View file

@ -8,18 +8,12 @@
"cpu", "cpu",
"memory", "memory",
"custom/gpu-usage", "custom/gpu-usage",
"backlight",
"pulseaudio#input", "pulseaudio#input",
"pulseaudio#output" "pulseaudio#output"
], ],
"modules-left": [ "modules-left": ["hyprland/workspaces", "tray"],
"hyprland/workspaces", "modules-right": ["battery", "network", "network#network-2"],
"tray"
],
"modules-right": [
"battery",
"network",
"network#network-2"
],
"wireplumber": { "wireplumber": {
"scroll-step": 5, "scroll-step": 5,
"format": "{volume}% {icon}", "format": "{volume}% {icon}",
@ -29,11 +23,7 @@
"format-source": "", "format-source": "",
"format-source-muted": "", "format-source-muted": "",
"format-icons": { "format-icons": {
"default": [ "default": ["", "", ""]
"",
"",
""
]
}, },
"on-click": "helvum", "on-click": "helvum",
"max-volume": 150, "max-volume": 150,
@ -46,11 +36,7 @@
"format-source": "", "format-source": "",
"format-icons": { "format-icons": {
"headset": "", "headset": "",
"default": [ "default": ["", "", ""]
"",
"",
""
]
}, },
"max-volume": 150, "max-volume": 150,
"scroll-step": 5, "scroll-step": 5,
@ -97,11 +83,7 @@
"phone": "", "phone": "",
"portable": "", "portable": "",
"car": "", "car": "",
"default": [ "default": ["", "", ""]
"",
"",
""
]
}, },
"on-click": "pavucontrol" "on-click": "pavucontrol"
}, },
@ -171,10 +153,7 @@
"backlight": { "backlight": {
// "device": "acpi_video1", // "device": "acpi_video1",
"format": "{percent}% {icon}", "format": "{percent}% {icon}",
"format-icons": [ "format-icons": ["", ""]
"",
""
]
}, },
"battery": { "battery": {
"states": { "states": {
@ -188,13 +167,7 @@
"format-alt": "{time} {icon}", "format-alt": "{time} {icon}",
// "format-good": "", // "format-good": "",
// "format-full": "", // "format-full": "",
"format-icons": [ "format-icons": ["", "", "", "", ""]
"",
"",
"",
"",
""
]
}, },
"network": { "network": {
"format-wifi": " : {ipaddr}", "format-wifi": " : {ipaddr}",
@ -225,4 +198,4 @@
"on-click": "~/.config/hypr/scripts/rofi-launch.sh p", "on-click": "~/.config/hypr/scripts/rofi-launch.sh p",
"on-click-right": "pkill rofi" "on-click-right": "pkill rofi"
} }
} }