From 540450fd6b01361d19fdccd53b67b403e565de0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Yule=20B=C3=A4dorf?= Date: Fri, 9 Feb 2024 14:12:26 +0100 Subject: [PATCH] stroopwafel/sway: fix sway screen brightness keybinding --- .../stroopwafel/.config/sway/config.d/custom-keybindings.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/stroopwafel/.config/sway/config.d/custom-keybindings.conf b/hosts/stroopwafel/.config/sway/config.d/custom-keybindings.conf index 4a95431..d3c6eed 100644 --- a/hosts/stroopwafel/.config/sway/config.d/custom-keybindings.conf +++ b/hosts/stroopwafel/.config/sway/config.d/custom-keybindings.conf @@ -2,8 +2,8 @@ #bindsym XF86TouchpadToggle exec $HOME/Workspace/ben/toggletouchpad.sh # toggle touchpad # Screen brightness controls -bindsym XF86MonBrightnessUp exec "brightnessctl -d intel_backlight set +10%; notify-send $(brightnessctl -d intel_backlight i | awk '/Current/ {print $4}')" -bindsym XF86MonBrightnessDown exec "brightnessctl -d intel_backlight set 10%-; notify-send $(brightnessctl -d intel_backlight i | awk '/Current/ { print $4}')" +bindsym XF86MonBrightnessUp exec "brightnessctl -d amdgpu_bl0 set +10%; notify-send $(brightnessctl -d amdgpu_bl0 i | awk '/Current/ {print $4}')" +bindsym XF86MonBrightnessDown exec "brightnessctl -d amdgpu_bl0 set 10%-; notify-send $(brightnessctl -d amdgpu_bl0 i | awk '/Current/ { print $4}')" # Keyboard backlight brightness controls bindsym XF86KbdBrightnessDown exec "brightnessctl -d smc::kbd_backlight set 10%-; notify-send $(brightnessctl -d smc::kbd_backlight i | awk '/Current/ { print $4}')"