New i3 config
This commit is contained in:
parent
ff8999db00
commit
389cfac294
2 changed files with 23 additions and 17 deletions
|
@ -51,10 +51,10 @@ bindsym $mod+Shift+p exec /usr/bin/passmenu
|
||||||
##
|
##
|
||||||
|
|
||||||
# change focus
|
# change focus
|
||||||
bindsym $mod+j focus left
|
bindsym $mod+h focus left
|
||||||
bindsym $mod+k focus down
|
bindsym $mod+j focus down
|
||||||
bindsym $mod+l focus up
|
bindsym $mod+k focus up
|
||||||
bindsym $mod+semicolon focus right
|
bindsym $mod+l focus right
|
||||||
|
|
||||||
# Focus parent/child
|
# Focus parent/child
|
||||||
bindsym $mod+i focus parent
|
bindsym $mod+i focus parent
|
||||||
|
@ -67,10 +67,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+j move left
|
bindsym $mod+Shift+h move left
|
||||||
bindsym $mod+Shift+k move down
|
bindsym $mod+Shift+j move down
|
||||||
bindsym $mod+Shift+l move up
|
bindsym $mod+Shift+k move up
|
||||||
bindsym $mod+Shift+semicolon 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
|
||||||
|
@ -79,7 +79,7 @@ bindsym $mod+Shift+Up move up
|
||||||
bindsym $mod+Shift+Right move right
|
bindsym $mod+Shift+Right move right
|
||||||
|
|
||||||
# split in horizontal orientation
|
# split in horizontal orientation
|
||||||
bindsym $mod+h split h
|
bindsym $mod+semicolon split h
|
||||||
|
|
||||||
# split in vertical orientation
|
# split in vertical orientation
|
||||||
bindsym $mod+v split v
|
bindsym $mod+v split v
|
||||||
|
@ -132,10 +132,14 @@ bindsym $mod+grave workspace back_and_forth
|
||||||
# switch to next/prev workspace
|
# switch to next/prev workspace
|
||||||
bindsym $mod+Control+Left workspace prev_on_output
|
bindsym $mod+Control+Left workspace prev_on_output
|
||||||
bindsym $mod+Control+Right workspace next_on_output
|
bindsym $mod+Control+Right workspace next_on_output
|
||||||
|
bindsym $mod+Control+h workspace prev_on_output
|
||||||
|
bindsym $mod+Control+l workspace next_on_output
|
||||||
|
|
||||||
# switch workspace to screen
|
# switch workspace to screen
|
||||||
bindsym $mod+Control+Shift+Left move workspace to output left
|
bindsym $mod+Control+Shift+Left move workspace to output left
|
||||||
bindsym $mod+Control+Shift+Right move workspace to output right
|
bindsym $mod+Control+Shift+Right move workspace to output right
|
||||||
|
bindsym $mod+Control+Shift+h move workspace to output left
|
||||||
|
bindsym $mod+Control+Shift+l move workspace to output right
|
||||||
|
|
||||||
# move focused container to workspace
|
# move focused container to workspace
|
||||||
bindsym $mod+Shift+1 move container to workspace 1
|
bindsym $mod+Shift+1 move container to workspace 1
|
||||||
|
@ -175,10 +179,10 @@ mode "resize" {
|
||||||
# Pressing right will grow the window’s width.
|
# Pressing right will grow the window’s width.
|
||||||
# Pressing up will shrink the window’s height.
|
# Pressing up will shrink the window’s height.
|
||||||
# Pressing down will grow the window’s height.
|
# Pressing down will grow the window’s height.
|
||||||
bindsym j resize shrink width 10 px or 10 ppt
|
bindsym h resize shrink width 10 px or 10 ppt
|
||||||
bindsym k resize grow height 10 px or 10 ppt
|
bindsym j resize grow height 10 px or 10 ppt
|
||||||
bindsym l resize shrink height 10 px or 10 ppt
|
bindsym k resize shrink height 10 px or 10 ppt
|
||||||
bindsym semicolon resize grow width 10 px or 10 ppt
|
bindsym l resize grow width 10 px or 10 ppt
|
||||||
|
|
||||||
# same bindings, but for the arrow keys
|
# same bindings, but for the arrow keys
|
||||||
bindsym Left resize shrink width 10 px or 10 ppt
|
bindsym Left resize shrink width 10 px or 10 ppt
|
||||||
|
@ -196,10 +200,11 @@ bindsym $mod+r mode "resize"
|
||||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||||
# finds out, if available)
|
# finds out, if available)
|
||||||
bar {
|
bar {
|
||||||
tray_output LVDS1
|
tray_output eDP1
|
||||||
# position top
|
# position top
|
||||||
font pango:DejaVu Sans Mono, Awesome 8
|
font pango:DejaVu Sans Mono, Awesome 12
|
||||||
status_command py3status -dl /tmp/py3log
|
status_command py3status
|
||||||
|
# status_command i3status
|
||||||
# tray_output primary
|
# tray_output primary
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -217,5 +222,5 @@ exec --no-startup-id /bin/bash ~/.config/i3/bin/wallpaper
|
||||||
exec --no-startup-id nm-applet
|
exec --no-startup-id nm-applet
|
||||||
|
|
||||||
# Screen lock
|
# Screen lock
|
||||||
exec xautolock -time 10 -locker ~/.config/i3/bin/i3lock
|
exec --no-startup-id xautolock -time 10 -locker ~/.config/i3/bin/i3lock
|
||||||
|
|
||||||
|
|
1
files/.i3rc
Symbolic link
1
files/.i3rc
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
.config/i3/config
|
Loading…
Reference in a new issue