i3: update keybinding for ergol
This commit is contained in:
parent
458fc5e98c
commit
c38805111b
149
i3/multi/config
149
i3/multi/config
@ -1,14 +1,13 @@
|
|||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
set $leftoutput DVI-I-1
|
set $leftoutput DP-3
|
||||||
set $rightoutput VGA-1
|
set $rightoutput HDMI-0
|
||||||
set $sink 0
|
|
||||||
|
|
||||||
font pango:monospace 8
|
font pango:monospace 8
|
||||||
|
|
||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
|
||||||
# start a terminal
|
# start a terminal
|
||||||
bindsym $mod+Return exec urxvtc
|
bindsym $mod+Return exec alacritty
|
||||||
|
|
||||||
bindsym $mod+b exec i3lock -i ~/.config/i3/matrix.png -t
|
bindsym $mod+b exec i3lock -i ~/.config/i3/matrix.png -t
|
||||||
|
|
||||||
@ -16,13 +15,13 @@ bindsym $mod+b exec i3lock -i ~/.config/i3/matrix.png -t
|
|||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
# start dmenu (a program launcher)
|
# start dmenu (a program launcher)
|
||||||
bindsym $mod+i exec rofi -show run
|
bindsym $mod+i exec rofi -show
|
||||||
|
|
||||||
# change focus
|
# change focus
|
||||||
bindsym $mod+t focus left
|
bindsym $mod+h focus left
|
||||||
bindsym $mod+s focus down
|
bindsym $mod+j focus down
|
||||||
bindsym $mod+r focus up
|
bindsym $mod+k focus up
|
||||||
bindsym $mod+n focus right
|
bindsym $mod+l focus right
|
||||||
|
|
||||||
# alternatively, you can use the cursor keys:
|
# alternatively, you can use the cursor keys:
|
||||||
bindsym $mod+Left focus left
|
bindsym $mod+Left focus left
|
||||||
@ -31,10 +30,10 @@ bindsym $mod+Up focus up
|
|||||||
bindsym $mod+Right focus right
|
bindsym $mod+Right focus right
|
||||||
|
|
||||||
# move focused window
|
# move focused window
|
||||||
bindsym $mod+Shift+t move left
|
bindsym $mod+Shift+h move left
|
||||||
bindsym $mod+Shift+s move down
|
bindsym $mod+Shift+j move down
|
||||||
bindsym $mod+Shift+r move up
|
bindsym $mod+Shift+k move up
|
||||||
bindsym $mod+Shift+n move right
|
bindsym $mod+Shift+l move right
|
||||||
|
|
||||||
# alternatively, you can use the cursor keys:
|
# alternatively, you can use the cursor keys:
|
||||||
bindsym $mod+Shift+Left move left
|
bindsym $mod+Shift+Left move left
|
||||||
@ -59,7 +58,7 @@ bindsym $mod+f fullscreen toggle
|
|||||||
|
|
||||||
# change container layout (stacked, tabbed, toggle split)
|
# change container layout (stacked, tabbed, toggle split)
|
||||||
bindsym $mod+u layout stacking
|
bindsym $mod+u layout stacking
|
||||||
bindsym $mod+eacute layout tabbed
|
bindsym $mod+t layout tabbed
|
||||||
bindsym $mod+p layout toggle split
|
bindsym $mod+p layout toggle split
|
||||||
|
|
||||||
bindsym $mod+z sticky toggle
|
bindsym $mod+z sticky toggle
|
||||||
@ -77,28 +76,31 @@ bindsym $mod+a focus parent
|
|||||||
#bindsym $mod+d focus child
|
#bindsym $mod+d focus child
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
bindsym $mod+quotedbl workspace 1
|
bindsym $mod+1 workspace 1
|
||||||
bindsym $mod+guillemotleft workspace 2
|
bindsym $mod+2 workspace 2
|
||||||
bindsym $mod+guillemotright workspace 3
|
bindsym $mod+3 workspace 3
|
||||||
bindsym $mod+parenleft workspace 4
|
bindsym $mod+4 workspace 4
|
||||||
bindsym $mod+parenright workspace 5
|
bindsym $mod+5 workspace 5
|
||||||
bindsym $mod+at workspace 6
|
bindsym $mod+6 workspace 6
|
||||||
bindsym $mod+plus workspace 7
|
bindsym $mod+7 workspace 7
|
||||||
bindsym $mod+minus workspace 8
|
bindsym $mod+8 workspace 8
|
||||||
bindsym $mod+slash workspace 9
|
bindsym $mod+9 workspace 9
|
||||||
bindsym $mod+asterisk workspace 10
|
bindsym $mod+0 workspace 10
|
||||||
|
|
||||||
|
bindsym $mod+Tab workspace next_on_output
|
||||||
|
bindsym $mod+Shift+Tab workspace prev_on_output
|
||||||
|
|
||||||
# move focused container to workspace
|
# move focused container to workspace
|
||||||
bindsym $mod+Shift+quotedbl move container to workspace 1
|
bindsym $mod+Shift+1 move container to workspace 1
|
||||||
bindsym $mod+Shift+guillemotleft move container to workspace 2
|
bindsym $mod+Shift+2 move container to workspace 2
|
||||||
bindsym $mod+Shift+guillemotright move container to workspace 3
|
bindsym $mod+Shift+3 move container to workspace 3
|
||||||
bindsym $mod+Shift+4 move container to workspace 4
|
bindsym $mod+Shift+4 move container to workspace 4
|
||||||
bindsym $mod+Shift+5 move container to workspace 5
|
bindsym $mod+Shift+5 move container to workspace 5
|
||||||
bindsym $mod+Shift+at move container to workspace 6
|
bindsym $mod+Shift+6 move container to workspace 6
|
||||||
bindsym $mod+Shift+plus move container to workspace 7
|
bindsym $mod+Shift+7 move container to workspace 7
|
||||||
bindsym $mod+Shift+minus move container to workspace 8
|
bindsym $mod+Shift+8 move container to workspace 8
|
||||||
bindsym $mod+Shift+slash move container to workspace 9
|
bindsym $mod+Shift+9 move container to workspace 9
|
||||||
bindsym $mod+Shift+asterisk move container to workspace 10
|
bindsym $mod+Shift+0 move container to workspace 10
|
||||||
|
|
||||||
# reload the configuration file
|
# reload the configuration file
|
||||||
bindsym $mod+Shift+x reload
|
bindsym $mod+Shift+x reload
|
||||||
@ -110,9 +112,13 @@ bindsym $mod+Shift+p exec "i3-nagbar -t warning -m 'You pressed the exit shortcu
|
|||||||
# dunst
|
# dunst
|
||||||
bindsym Control+space exec dunstctl close
|
bindsym Control+space exec dunstctl close
|
||||||
bindsym Control+Shift+space exec dunstctl close-all
|
bindsym Control+Shift+space exec dunstctl close-all
|
||||||
bindsym Control+dollar exec dunstctl history-pop
|
bindsym Control+grave exec dunstctl history-pop
|
||||||
bindsym Control+period exec dunstctl context
|
bindsym Control+period exec dunstctl context
|
||||||
|
|
||||||
|
# scratchpad
|
||||||
|
bindsym $mod+Shift+grave move scratchpad
|
||||||
|
bindsym $mod+grave scratchpad show
|
||||||
|
|
||||||
# resize window (you can also use the mouse for that)
|
# resize window (you can also use the mouse for that)
|
||||||
mode "resize" {
|
mode "resize" {
|
||||||
bindsym t resize shrink width 10 px or 10 ppt
|
bindsym t resize shrink width 10 px or 10 ppt
|
||||||
@ -185,61 +191,114 @@ mode "move" {
|
|||||||
|
|
||||||
bindsym $mod+m mode "move"
|
bindsym $mod+m mode "move"
|
||||||
|
|
||||||
|
set $mode_launcher launch
|
||||||
|
bindsym $mod+e mode "$mode_launcher"
|
||||||
|
|
||||||
|
mode "$mode_launcher" {
|
||||||
|
bindsym f exec firefox; mode "default"
|
||||||
|
bindsym t exec thunderbird; mode "default"
|
||||||
|
bindsym s exec steam; mode "default"
|
||||||
|
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
bindsym Return mode "default"
|
||||||
|
}
|
||||||
|
|
||||||
bar {
|
bar {
|
||||||
output $leftoutput
|
output $leftoutput
|
||||||
|
strip_workspace_numbers yes
|
||||||
|
font pango:DejaVu Sans Mono, FontAwesome 8
|
||||||
status_command i3blocks -c ~/.config/i3blocks/left-config
|
status_command i3blocks -c ~/.config/i3blocks/left-config
|
||||||
}
|
}
|
||||||
|
|
||||||
bar {
|
bar {
|
||||||
output $rightoutput
|
output $rightoutput
|
||||||
|
strip_workspace_numbers yes
|
||||||
|
font pango:DejaVu Sans Mono, FontAwesome 8
|
||||||
status_command i3blocks -c ~/.config/i3blocks/right-config
|
status_command i3blocks -c ~/.config/i3blocks/right-config
|
||||||
}
|
}
|
||||||
|
|
||||||
workspace_auto_back_and_forth no
|
workspace_auto_back_and_forth no
|
||||||
|
|
||||||
|
set $ws_browser_1 10:browser:1
|
||||||
|
set $ws_browser_2 11:browser:2
|
||||||
|
set $ws_steam steam
|
||||||
|
set $ws_lutris lutris
|
||||||
|
set $ws_mail 12:mail
|
||||||
|
set $ws_im 13:im
|
||||||
|
|
||||||
workspace 1 output $leftoutput
|
workspace 1 output $leftoutput
|
||||||
workspace 2 output $leftoutput
|
workspace 2 output $leftoutput
|
||||||
workspace 3 output $leftoutput
|
workspace 3 output $leftoutput
|
||||||
workspace 4 output $leftoutput
|
workspace 4 output $leftoutput
|
||||||
workspace 5 output $leftoutput
|
workspace 5 output $leftoutput
|
||||||
|
|
||||||
|
workspace $ws_browser_1 output $leftoutput
|
||||||
|
workspace $ws_browser_2 output $rightoutput
|
||||||
|
workspace $ws_steam output $leftoutput
|
||||||
|
workspace $ws_lutris output $leftoutput
|
||||||
|
|
||||||
workspace 6 output $rightoutput
|
workspace 6 output $rightoutput
|
||||||
workspace 7 output $rightoutput
|
workspace 7 output $rightoutput
|
||||||
workspace 8 output $rightoutput
|
workspace 8 output $rightoutput
|
||||||
workspace 9 output $rightoutput
|
workspace 9 output $rightoutput
|
||||||
workspace 10 output $rightoutput
|
workspace 10 output $rightoutput
|
||||||
|
|
||||||
assign [class="^Firefox" instance="^Navigator$"] workspace 2
|
workspace $ws_mail output $rightoutput
|
||||||
assign [class="^Thunderbird"] workspace 10
|
workspace $ws_im output $rightoutput
|
||||||
|
|
||||||
|
assign [class="^firefox" instance="^Navigator$"] workspace $ws_browser_1
|
||||||
|
assign [class="^org.mozilla.Thunderbird$"] workspace $ws_mail
|
||||||
|
|
||||||
|
assign [class="^Alacritty$" instance="^lucy-code$"] workspace 1
|
||||||
|
assign [class="^Alacritty$" instance="^lucy-server$"] workspace 6
|
||||||
assign [class="^URxvt$" instance="-code$"] workspace 3
|
assign [class="^URxvt$" instance="-code$"] workspace 3
|
||||||
assign [class="^URxvt$" instance="^lesportecles-rails$"] workspace 8
|
assign [class="^URxvt$" instance="^lesportecles-rails$"] workspace 8
|
||||||
assign [class="^URxvt$" instance="-server$"] workspace 8
|
assign [class="^URxvt$" instance="-server$"] workspace 8
|
||||||
|
assign [class="^xfreerdp$"] workspace 8
|
||||||
|
assign [class="^Microsoft Teams" title="Microsoft Teams(?! Notification)"] workspace $ws_im
|
||||||
|
assign [class="^steam$"] workspace $ws_steam
|
||||||
|
assign [class="^Lutris$"] workspace $ws_lutris
|
||||||
|
assign [class="^Mattermost$"] workspace $ws_im
|
||||||
|
assign [class="^discord$"] workspace $ws_im
|
||||||
|
|
||||||
bindsym XF86Calculator exec urxvtc -name float
|
bindsym XF86Calculator exec "alacritty --class Alacritty,Float"
|
||||||
for_window [class="^URxvt$" instance="^float$"] floating enable
|
for_window [class="^Gcolor3$"] floating enable
|
||||||
|
for_window [class="^Alacritty$" instance="^Float$"] floating enable
|
||||||
for_window [class="^mpv$"] floating enable
|
for_window [class="^mpv$"] floating enable
|
||||||
for_window [class="^Pinentry$"] floating enable
|
for_window [class="^Pinentry$"] floating enable
|
||||||
for_window [class="^TeamViewer$"] floating enable
|
for_window [class="^TeamViewer$"] floating enable
|
||||||
|
for_window [title="Microsoft Teams Notification"] floating enable, sticky enable
|
||||||
|
for_window [title="^Steam - News"] floating enable
|
||||||
|
for_window [title="^Origin$"] floating enable
|
||||||
|
for_window [class="Yad"] floating enable
|
||||||
|
|
||||||
bindsym XF86HomePage workspace 2
|
bindsym XF86HomePage workspace $ws_browser_1
|
||||||
bindsym XF86Mail workspace 10
|
bindsym $mod+XF86HomePage workspace $ws_browser_2
|
||||||
|
|
||||||
|
bindsym $mod+Shift+XF86HomePage move container to workspace $ws_browser_1
|
||||||
|
bindsym $mod+Control+XF86HomePage move container to workspace $ws_browser_2
|
||||||
|
|
||||||
|
bindsym XF86Mail workspace $ws_mail
|
||||||
|
bindsym $mod+Shift+XF86Mail move container to workspace $ws_mail
|
||||||
|
|
||||||
|
bindsym $mod+XF86Mail workspace $ws_im
|
||||||
|
bindsym $mod+Control+XF86Mail move container to workspace $ws_im
|
||||||
|
|
||||||
# Pulse Audio controls
|
# Pulse Audio controls
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id "pactl set-sink-volume $sink +5% && pkill -RTMIN+10 i3blocks"
|
bindsym XF86AudioRaiseVolume exec --no-startup-id "wpctl set-volume @DEFAULT_SINK@ 0.05+ && pkill -RTMIN+10 i3blocks"
|
||||||
bindsym XF86AudioLowerVolume exec --no-startup-id "pactl set-sink-volume $sink -5% && pkill -RTMIN+10 i3blocks"
|
bindsym XF86AudioLowerVolume exec --no-startup-id "wpctl set-volume @DEFAULT_SINK@ 0.05- && pkill -RTMIN+10 i3blocks"
|
||||||
|
|
||||||
bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id "pactl set-sink-volume $sink +2% && pkill -RTMIN+10 i3blocks"
|
bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id "wpctl set-volume @DEFAULT_SINK@ 0.02+ && pkill -RTMIN+10 i3blocks"
|
||||||
bindsym Shift+XF86AudioLowerVolume exec --no-startup-id "pactl set-sink-volume $sink -2% && pkill -RTMIN+10 i3blocks"
|
bindsym Shift+XF86AudioLowerVolume exec --no-startup-id "wpctl set-volume @DEFAULT_SINK@ 0.02- && pkill -RTMIN+10 i3blocks"
|
||||||
|
|
||||||
bindsym XF86AudioMute exec --no-startup-id "pactl set-sink-mute $sink toggle && pkill -RTMIN+10 i3blocks"
|
bindsym XF86AudioMute exec --no-startup-id "pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -RTMIN+10 i3blocks"
|
||||||
|
|
||||||
# Media player controls
|
# Media player controls
|
||||||
bindsym XF86AudioPlay exec --no-startup-id mpc toggle
|
bindsym XF86AudioPlay exec --no-startup-id mpc toggle
|
||||||
bindsym XF86AudioNext exec --no-startup-id mpc next
|
bindsym XF86AudioNext exec --no-startup-id mpc next
|
||||||
bindsym XF86AudioPrev exec --no-startup-id mpc prev
|
bindsym XF86AudioPrev exec --no-startup-id mpc prev
|
||||||
|
|
||||||
bindsym Print exec --no-startup-id "cd ~/pictures/screenshots && scrot -u -e 'gimp $f' '%F-%H%M%S_$wx$h_scrot.png'"
|
bindsym Print exec "flameshot gui"
|
||||||
|
|
||||||
new_window pixel 2
|
new_window pixel 2
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user