diff --git a/config/waybar/config b/config/waybar/config index b29c16d..059c975 100644 --- a/config/waybar/config +++ b/config/waybar/config @@ -1,11 +1,18 @@ { "layer": "top", "position": "top", - "height": 24, + "height": 26, "modules-left": ["river/tags", "river/window"], "modules-center": [], - "modules-right": ["cpu", "memory", "network", "pulseaudio", "clock"], + "modules-right": ["custom/brightness", "cpu", "memory", "network", "pulseaudio", "clock"], + "custom/brightness": { + "format": "BRI {}%", + "exec": "ddcutil getvcp 10 | grep -o '[0-9]\\+$'", + "on-scroll-up": "ddcutil setvcp 10 + 5", + "on-scroll-down": "ddcutil setvcp 10 - 5", + "interval": 1 + }, "clock": { "format": "{:%H:%M}", "tooltip": false diff --git a/deps.txt b/deps.txt new file mode 100644 index 0000000..91ddc7b --- /dev/null +++ b/deps.txt @@ -0,0 +1,6 @@ +foot fuzzel river waybar tmux + +brightnessctl +# Make sure you're in the video group: +# sudo usermod -aG video $USER +