diff --git a/config/sway/config.m4 b/config/sway/config.m4 index 025edaa..b0cce38 100644 --- a/config/sway/config.m4 +++ b/config/sway/config.m4 @@ -62,14 +62,13 @@ forloop([i], 1,9, [ # bindsym $mod+Shift+c reload bindsym $mod+Shift+r exec bash -c "sleep 1; swaymsg reload" -# TODO -# ifelse(hostname, [petalius], [ -# # brightness control -# bindsym XF86MonBrightnessDown exec light -U 10 -# bindsym XF86MonBrightnessUp exec light -A 10 -# bindsym Shift+XF86MonBrightnessDown exec light -U 1 -# bindsym Shift+XF86MonBrightnessUp exec light -A 1 -# ]) +ifelse(hostname, [petalius], [ + # brightness control + bindsym XF86MonBrightnessDown exec light -U 10 + bindsym XF86MonBrightnessUp exec light -A 10 + bindsym Shift+XF86MonBrightnessDown exec light -U 1 + bindsym Shift+XF86MonBrightnessUp exec light -A 1 +]) # resize window (you can also use the mouse for that) mode "resize" {