]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Controll backlight with keyboard hotkeys
authorMaximilian Friedersdorff <max@friedersdorff.com>
Sun, 17 Nov 2019 22:10:21 +0000 (22:10 +0000)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Sun, 17 Nov 2019 22:10:21 +0000 (22:10 +0000)
states/sway/files/config.jinja

index 536627f0a02e01ad5d5e6617c4623f69778de8ab..a7efde350776dd4cef6e82b4d3d4e2fbfdb09e8a 100644 (file)
@@ -171,7 +171,8 @@ mode "resize" {
 
 bindsym $mod+p mode "resize"
 
-
+bindsym XF86MonBrightnessUp exec "brightnessctl set +100"
+bindsym XF86MonBrightnessDown exec "brightnessctl set 100-"
 
 hide_edge_borders both