waybar: add display brightness module
This commit is contained in:
parent
75e56e8607
commit
0e44a41499
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
||||||
"modules-center": ["sway/window"],
|
"modules-center": ["sway/window"],
|
||||||
"modules-right": ["tray", "pulseaudio", "network", "custom/storage", "memory", "cpu", "idle_inhibitor", "battery", "clock#date", "clock#time"],
|
"modules-right": ["tray", "pulseaudio", "network", "custom/storage", "memory", "cpu", "idle_inhibitor", "backlight", "battery", "clock#date", "clock#time"],
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"format": "{name}",
|
"format": "{name}",
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
@ -38,6 +38,11 @@
|
|||||||
"interval": 5,
|
"interval": 5,
|
||||||
"format": "{usage:2}% "
|
"format": "{usage:2}% "
|
||||||
},
|
},
|
||||||
|
"backlight": {
|
||||||
|
"device": "acpi_video1",
|
||||||
|
"format": "{percent}% {icon}",
|
||||||
|
"format-icons": ["☁️", "🌥️", "⛅", "☀️"]
|
||||||
|
},
|
||||||
"battery": {
|
"battery": {
|
||||||
"format": "{capacity}% {icon}",
|
"format": "{capacity}% {icon}",
|
||||||
"format-alt": "{time} {icon}",
|
"format-alt": "{time} {icon}",
|
||||||
|
Loading…
Reference in New Issue
Block a user