waybar: show backlight brightness
This commit is contained in:
parent
175941c565
commit
9497f6c73d
|
@ -7,6 +7,7 @@
|
||||||
//"modules-center": ["mpd"],
|
//"modules-center": ["mpd"],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"sway/language",
|
"sway/language",
|
||||||
|
"backlight",
|
||||||
"custom/notification",
|
"custom/notification",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"network",
|
"network",
|
||||||
|
@ -39,10 +40,8 @@
|
||||||
"format-alt": "{:%a %d. %h %H:%M}"
|
"format-alt": "{:%a %d. %h %H:%M}"
|
||||||
},
|
},
|
||||||
"backlight": {
|
"backlight": {
|
||||||
// "device": "acpi_video1",
|
"device": "gmux_backlight",
|
||||||
"tooltip": true,
|
"format": "<span font='10'> {percent}%</span> {icon}",
|
||||||
"tooltip-format": "Brightness: <big>{percent}%</big>",
|
|
||||||
"format": "<span font='10'>{icon}</span>",
|
|
||||||
"format-icons": ["", ""]
|
"format-icons": ["", ""]
|
||||||
},
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
|
@ -52,7 +51,7 @@
|
||||||
"format": "{}% "
|
"format": "{}% "
|
||||||
},
|
},
|
||||||
"idle_inhibitor": {
|
"idle_inhibitor": {
|
||||||
"format": "<span font='10'>{icon} </span>",
|
"format": "{icon} ",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"activated": "",
|
"activated": "",
|
||||||
"deactivated": ""
|
"deactivated": ""
|
||||||
|
@ -64,8 +63,8 @@
|
||||||
"critical": 25
|
"critical": 25
|
||||||
},
|
},
|
||||||
//"full-at": 84,
|
//"full-at": 84,
|
||||||
"format": "<span font='10'>{icon}</span> {capacity}%",
|
"format": "{icon}<span font='10'> {capacity}%</span>",
|
||||||
"format-full": "<span font='10'>{icon}</span>",
|
"format-full": "{icon}",
|
||||||
"format-icons": ["", "", "", "", ""],
|
"format-icons": ["", "", "", "", ""],
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
|
@ -81,7 +80,7 @@
|
||||||
//\ue04f{volume}%
|
//\ue04f{volume}%
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"tooltip": false,
|
"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-bluetooth": "{volume}% <span font='10'>{icon}</span>",
|
||||||
"format-muted": "",
|
"format-muted": "",
|
||||||
"on-click": "pavucontrol",
|
"on-click": "pavucontrol",
|
||||||
|
|
Loading…
Reference in a new issue