summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2021-11-04 08:04:29 +0100
committerxengineering <me@xengineering.eu>2021-11-04 08:04:29 +0100
commit09cb32972a6e922d26452023b4d408234fb56f18 (patch)
tree07210ad5e5c53d12a292c89325958f213d65e01e
parent516ca143aa9ce169613442dbf1a88b957a683e5f (diff)
downloaddotfiles-09cb32972a6e922d26452023b4d408234fb56f18.tar
dotfiles-09cb32972a6e922d26452023b4d408234fb56f18.tar.zst
dotfiles-09cb32972a6e922d26452023b4d408234fb56f18.zip
Add Brightness Control to Sway Config
-rw-r--r--.config/sway/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/sway/config b/.config/sway/config
index ff4611c..ecdec76 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -86,6 +86,9 @@ workspace 3 output eDP-1
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
+ # Brightness Controls
+ bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
+ bindsym XF86MonBrightnessUp exec brightnessctl set +5%
# Media player controls
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next