From 389cfac2943da8d3a672f00277899e07c8ae4774 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Mon, 6 Feb 2017 15:04:00 +0100 Subject: [PATCH] New i3 config --- files/.config/i3/config | 39 ++++++++++++++++++++++----------------- files/.i3rc | 1 + 2 files changed, 23 insertions(+), 17 deletions(-) create mode 120000 files/.i3rc diff --git a/files/.config/i3/config b/files/.config/i3/config index 691f78e..1ba7604 100644 --- a/files/.config/i3/config +++ b/files/.config/i3/config @@ -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 window’s width. # Pressing up will shrink the window’s height. # Pressing down will grow the window’s 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 diff --git a/files/.i3rc b/files/.i3rc new file mode 120000 index 0000000..9fcc23f --- /dev/null +++ b/files/.i3rc @@ -0,0 +1 @@ +.config/i3/config \ No newline at end of file