diff options
author | Amin Bandali <bandali@gnu.org> | 2023-09-14 22:46:41 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2023-09-14 22:46:41 -0400 |
commit | dcbf17ba415dbc3fc3eb89f5fc1366ee7842f8b1 (patch) | |
tree | e0741d27a01adf07b434b152680d76e9a32ad9bc /.config/i3 | |
parent | f2426f01a0fe0db214369af7e751fdfdb801e603 (diff) | |
download | configs-dcbf17ba415dbc3fc3eb89f5fc1366ee7842f8b1.tar.gz configs-dcbf17ba415dbc3fc3eb89f5fc1366ee7842f8b1.tar.xz configs-dcbf17ba415dbc3fc3eb89f5fc1366ee7842f8b1.zip |
Tweak i3 bindings
Add --no-startup-id to nearly all binding execs, and add a few new
bindings for changing output and input volume, similarly to those of
my EXWM setup.
Diffstat (limited to '')
-rw-r--r-- | .config/i3/config | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/.config/i3/config b/.config/i3/config index 3964729..dc8305c 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -20,8 +20,8 @@ floating_modifier $mod workspace_layout tabbed # terminal -bindsym $mod+Return exec xterm -bindsym $mod+Shift+Return exec xterm -name floating +bindsym $mod+Return exec --no-startup-id xterm +bindsym $mod+Shift+Return exec --no-startup-id xterm -name floating for_window [class="XTerm" instance="floating"] floating enable # kill focused window (not necessarily its application) @@ -30,20 +30,24 @@ bindsym $mod+Shift+w kill #bindsym --release $mod+Shift+x exec xkill # launcher and pass -bindsym $mod+space exec dmenu_run -fn 'Source Code Pro Medium-10.5' -bindsym $mod+backslash exec passmenu --type -fn 'Source Code Pro Medium-10.5' +bindsym $mod+space exec --no-startup-id dmenu_run -fn 'Source Code Pro Medium-10.5' +bindsym $mod+backslash exec --no-startup-id passmenu --type -fn 'Source Code Pro Medium-10.5' # brightness -bindsym $mod+apostrophe exec dmenu-light # brightness chooser -bindsym XF86MonBrightnessUp exec light -A 5 # increase brightness -bindsym XF86MonBrightnessDown exec light -U 5 # decrease brightness +bindsym $mod+apostrophe exec --no-startup-id dmenu-light # brightness chooser +bindsym XF86MonBrightnessUp exec --no-startup-id light -A 5 # increase brightness +bindsym XF86MonBrightnessDown exec --no-startup-id light -U 5 # decrease brightness # volume -bindsym $mod+semicolon exec dmenu-pamixer # volume chooser -bindsym XF86AudioRaiseVolume exec pamixer --allow-boost --increase 5 -bindsym XF86AudioLowerVolume exec pamixer --allow-boost --decrease 5 -bindsym XF86AudioMute exec pamixer --toggle-mute -bindsym XF86AudioMicMute exec pactl set-source-mute 1 toggle +bindsym $mod+semicolon exec --no-startup-id dmenu-pamixer # volume chooser +bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer --allow-boost --increase 5 +bindsym XF86AudioLowerVolume exec --no-startup-id pamixer --allow-boost --decrease 5 +bindsym XF86AudioMute exec --no-startup-id pamixer --toggle-mute +bindsym XF86Launch1 exec --no-startup-id pamixer --toggle-mute +bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute 1 toggle +bindsym $mod+XF86Launch1 exec --no-startup-id pactl set-source-mute 1 toggle +bindsym $mod+XF86AudioRaiseVolume exec --no-startup-id pamixer --default-source --increase 5 +bindsym $mod+XF86AudioLowerVolume exec --no-startup-id pamixer --default-source --decrease 5 # window focus bindsym $mod+h focus left @@ -120,10 +124,10 @@ bindsym $mod+Shift+bracketleft move container to workspace prev bindsym $mod+Shift+bracketright move container to workspace next # bspwm-esque workspace switch and container move -bindsym $mod2+bracketleft exec b-ws-util i3 switch prev -bindsym $mod2+bracketright exec b-ws-util i3 switch next -bindsym $mod2+Shift+bracketleft exec b-ws-util i3 move prev follow -bindsym $mod2+Shift+bracketright exec b-ws-util i3 move next follow +bindsym $mod2+bracketleft exec --no-startup-id b-ws-util i3 switch prev +bindsym $mod2+bracketright exec --no-startup-id b-ws-util i3 switch next +bindsym $mod2+Shift+bracketleft exec --no-startup-id b-ws-util i3 move prev follow +bindsym $mod2+Shift+bracketright exec --no-startup-id b-ws-util i3 move next follow set $mode_system System (l)ock | (e)xit i3 | (s)uspend | (h)ibernate | (r)eboot | (S)hutdown mode "$mode_system" { |