Changed Gaps and Volume Keys
authorCian Bagshaw <cian@cianb.xyz>
Wed, 18 Jan 2023 15:23:28 +0000 (15:23 +0000)
committerCian Bagshaw <cian@cianb.xyz>
Wed, 18 Jan 2023 15:23:28 +0000 (15:23 +0000)
Only allowed for inner gaps to be changed, freeing plus/minus keys for volume
as to not require shift press also.

.config/i3/config

index 0ece085..4b01e9e 100755 (executable)
@@ -12,8 +12,8 @@ exec_always picom
 floating_modifier $mod
 
 # increase/decrease volume
-bindsym $mod+Shift+plus                exec amixer sset 'Master' 5%+ && notify-send "volume +5%"
-bindsym $mod+Shift+minus       exec amixer sset 'Master' 5%- && notify-send "volume -5%"
+bindsym $mod+plus      exec amixer sset 'Master' 5%+ && notify-send "volume +5%"
+bindsym $mod+minus     exec amixer sset 'Master' 5%- && notify-send "volume -5%"
 
 # start a terminal
 bindsym $mod+Return                    exec alacritty 
@@ -26,17 +26,11 @@ bindsym $mod+Shift+q kill
 bindsym $mod+d exec rofi -show run -icon-theme "Papirus" -show-icons
 
 # gaps
-gaps inner 4
 gaps outer 2
-
-bindsym $mod+plus      gaps outer current plus 5
-bindsym $mod+minus     gaps outer current minus 5
-
+gaps inner 4
 bindsym $mod+bracketright      gaps inner current plus 5
 bindsym $mod+bracketleft       gaps inner current minus 5
-
 bindsym $mod+BackSpace                 gaps inner current set 4
-bindsym $mod+Shift+BackSpace   gaps outer current set 2
 
 # change focus
 bindsym $mod+h                 focus left