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-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": {
|
||||
"format": "{name}",
|
||||
"disable-scroll": true,
|
||||
@ -38,6 +38,11 @@
|
||||
"interval": 5,
|
||||
"format": "{usage:2}% "
|
||||
},
|
||||
"backlight": {
|
||||
"device": "acpi_video1",
|
||||
"format": "{percent}% {icon}",
|
||||
"format-icons": ["☁️", "🌥️", "⛅", "☀️"]
|
||||
},
|
||||
"battery": {
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-alt": "{time} {icon}",
|
||||
|
Loading…
Reference in New Issue
Block a user