tweak i3 config for better control of screen and tabbed windows
This commit is contained in:
parent
3b60f83794
commit
e2d83d7f19
1 changed files with 9 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
||||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
||||||
|
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
|
set $mod2 Mod1
|
||||||
|
|
||||||
# Default to tab layout
|
# Default to tab layout
|
||||||
workspace_layout tabbed
|
workspace_layout tabbed
|
||||||
|
@ -75,13 +76,16 @@ bindsym $mod+d exec " dmenu_run -c -l 20 -sb '#B00520' -shb '#600000' -shf '#F0F
|
||||||
#bindsym $mod+m focus right
|
#bindsym $mod+m focus right
|
||||||
|
|
||||||
# alternatively, you can use the cursor keys:
|
# alternatively, you can use the cursor keys:
|
||||||
|
focus_wrapping workspace
|
||||||
bindsym $mod+Left focus left
|
bindsym $mod+Left focus left
|
||||||
bindsym $mod+Down focus down
|
bindsym $mod+Down focus down
|
||||||
bindsym $mod+Up focus up
|
bindsym $mod+Up focus up
|
||||||
bindsym $mod+Right focus right
|
bindsym $mod+Right focus right
|
||||||
|
|
||||||
bindsym $mod+Tab focus right
|
bindsym $mod+Tab focus right
|
||||||
|
bindsym --whole-window button8 focus right
|
||||||
bindsym $mod+twosuperior focus left
|
bindsym $mod+twosuperior focus left
|
||||||
|
bindsym --whole-window button9 focus left
|
||||||
|
|
||||||
# move focused window
|
# move focused window
|
||||||
#bindsym $mod+Shift+j move left
|
#bindsym $mod+Shift+j move left
|
||||||
|
@ -134,6 +138,9 @@ set $ws8 "8"
|
||||||
set $ws9 "9"
|
set $ws9 "9"
|
||||||
set $ws10 "10"
|
set $ws10 "10"
|
||||||
|
|
||||||
|
set $mt1 "eDP-1-1"
|
||||||
|
set $mt2 "HDMI-0"
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
bindsym $mod+ampersand workspace number $ws1
|
bindsym $mod+ampersand workspace number $ws1
|
||||||
bindsym $mod+eacute workspace number $ws2
|
bindsym $mod+eacute workspace number $ws2
|
||||||
|
@ -160,6 +167,8 @@ bindsym $mod+Shift+agrave move container to workspace number $ws10
|
||||||
|
|
||||||
# move workspace between screens
|
# move workspace between screens
|
||||||
bindsym $mod+p move workspace to output right
|
bindsym $mod+p move workspace to output right
|
||||||
|
bindsym $mod2+Shift+ampersand move workspace to output $mt1
|
||||||
|
bindsym $mod2+Shift+eacute move workspace to output $mt2
|
||||||
|
|
||||||
# reload the configuration file
|
# reload the configuration file
|
||||||
bindsym $mod+Shift+c reload
|
bindsym $mod+Shift+c reload
|
||||||
|
|
Loading…
Reference in a new issue