New i3 config

This commit is contained in:
Théophile Bastian 2017-02-06 15:04:00 +01:00
parent ff8999db00
commit 389cfac294
2 changed files with 23 additions and 17 deletions

View file

@ -51,10 +51,10 @@ bindsym $mod+Shift+p exec /usr/bin/passmenu
##
# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+semicolon focus right
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# Focus parent/child
bindsym $mod+i focus parent
@ -67,10 +67,10 @@ bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
@ -79,7 +79,7 @@ bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation
bindsym $mod+h split h
bindsym $mod+semicolon split h
# split in vertical orientation
bindsym $mod+v split v
@ -132,10 +132,14 @@ bindsym $mod+grave workspace back_and_forth
# switch to next/prev workspace
bindsym $mod+Control+Left workspace prev_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
bindsym $mod+Control+Shift+Left move workspace to output left
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
bindsym $mod+Shift+1 move container to workspace 1
@ -175,10 +179,10 @@ mode "resize" {
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
bindsym j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym semicolon resize grow width 10 px or 10 ppt
bindsym h resize shrink width 10 px or 10 ppt
bindsym j resize grow height 10 px or 10 ppt
bindsym k resize shrink height 10 px or 10 ppt
bindsym l resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
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
# finds out, if available)
bar {
tray_output LVDS1
tray_output eDP1
# position top
font pango:DejaVu Sans Mono, Awesome 8
status_command py3status -dl /tmp/py3log
font pango:DejaVu Sans Mono, Awesome 12
status_command py3status
# status_command i3status
# tray_output primary
}
@ -217,5 +222,5 @@ exec --no-startup-id /bin/bash ~/.config/i3/bin/wallpaper
exec --no-startup-id nm-applet
# 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
View file

@ -0,0 +1 @@
.config/i3/config