waybar: add display brightness module

This commit is contained in:
surtur 2021-05-29 22:22:05 +02:00
parent 75e56e8607
commit 0e44a41499
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -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}",