From 9bb0e532a4cc608e1f29a693d9d81039e66cedb2 Mon Sep 17 00:00:00 2001 From: Dominic Date: Mon, 14 Apr 2025 18:19:04 -0400 Subject: [PATCH] handle brightness --- config | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config b/config index cbd0b5a..563dcad 100644 --- a/config +++ b/config @@ -40,6 +40,10 @@ bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && pkill -RTMIN+10 i3blocks bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -RTMIN+10 i3blocks bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status +# Brightness +bindsym XF86MonBrightnessUp exec brightnessctl -d "intel_backlight" set +5% && pkill -RTMIN+20 i3blocks +bindsym XF86MonBrightnessDown exec brightnessctl -d "intel_backlight" set 5%- && pkill -RTMIN+20 i3blocks + # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod @@ -236,6 +240,9 @@ bindsym $mod+Shift+a gaps outer all minus 5 bindsym $mod+Shift+z gaps inner all plus 5 bindsym $mod+Shift+x gaps inner all minus 5 +bindsym $mod+Shift+g ; gaps inner all set 0 ; gaps outer all set 0 + + # stop annoying mouse blocking focus movement with keyboard focus_follows_mouse no @@ -279,3 +286,4 @@ bindsym mod4+s [title="^Sup ::"] scratchpad show # turn on transparency exec_always --no-startup-id compton +