waybar: show backlight brightness

This commit is contained in:
teutat3s 2022-09-20 16:15:33 +02:00
parent 175941c565
commit 9497f6c73d
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -7,6 +7,7 @@
//"modules-center": ["mpd"],
"modules-right": [
"sway/language",
"backlight",
"custom/notification",
"pulseaudio",
"network",
@ -39,10 +40,8 @@
"format-alt": "{:%a %d. %h %H:%M}"
},
"backlight": {
// "device": "acpi_video1",
"tooltip": true,
"tooltip-format": "Brightness: <big>{percent}%</big>",
"format": "<span font='10'>{icon}</span>",
"device": "gmux_backlight",
"format": "<span font='10'> {percent}%</span> {icon}",
"format-icons": ["", ""]
},
"cpu": {
@ -52,7 +51,7 @@
"format": "{}% "
},
"idle_inhibitor": {
"format": "<span font='10'>{icon} </span>",
"format": "{icon} ",
"format-icons": {
"activated": "",
"deactivated": ""
@ -64,8 +63,8 @@
"critical": 25
},
//"full-at": 84,
"format": "<span font='10'>{icon}</span> {capacity}%",
"format-full": "<span font='10'>{icon}</span>",
"format": "{icon}<span font='10'> {capacity}%</span>",
"format-full": "{icon}",
"format-icons": ["", "", "", "", ""],
},
"network": {
@ -81,7 +80,7 @@
//\ue04f{volume}%
"pulseaudio": {
"tooltip": false,
"format": "{volume}% <span font='10'>{icon}</span>",
"format": "<span font='10'>{volume}%</span> {icon}",
"format-bluetooth": "{volume}% <span font='10'>{icon}</span>",
"format-muted": "",
"on-click": "pavucontrol",