From 9ee8d2daa63a3d8a4eb052f0be8242fe2ab73542 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Thu, 25 May 2017 18:48:10 +0100 Subject: [PATCH] i3 config --- config/i3/config | 24 ++++++++---------------- config/i3/configWork | 5 +---- 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/config/i3/config b/config/i3/config index 67153671..fffe09d2 100644 --- a/config/i3/config +++ b/config/i3/config @@ -1,10 +1,3 @@ -# This file has been auto-generated by i3-config-wizard(1). -# It will not be overwritten, so edit it as you like. -# -# Should you change your keyboard layout some time, delete -# this file and re-run i3-config-wizard(1). -# - # i3 config file (v4) # # Please see http://i3wm.org/docs/userguide.html for a complete reference! @@ -119,14 +112,8 @@ bindsym $mod+space focus mode_toggle # focus the parent container bindsym $mod+a focus parent -# move to the parent container -bindsym $mod+Shift+a move parent - # focus the child container -bindsym $mod+z focus child - -# move to the child container -bindsym $mod+Shift+z focus child +#bindsym $mod+z focus child #set workspace names @@ -172,8 +159,11 @@ assign [instance="crx_knipolnnllmklapflnccelgolnpehhpl"] to $workspace10 for_window [window_role="gimp-toolbox"] floating disable; move left; move left; for_window [window_role="gimp-dock"] floating disable; move right; move right; +#make applications open in floating mode +for_window [class="Galculator"] floating enable + # reload the configuration file -bindsym $mod+Shift+c reload +#bindsym $mod+Shift+c reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod+Shift+r restart @@ -236,8 +226,10 @@ bar { #Use xfce4 panel instead of i3's #exec --no-startup-id xfce4-panel --disable-wm-check -bindsym control+mod1+c exec chromium, workspace $workspace1 +bindsym $mod+c exec chromium-snapshot-bin, workspace $workspace1 +bindsym $mod+Shift+c exec chromium-snapshot-bin --force-device-scale-factor=2, workspace $workspace1 bindsym control+mod1+f exec thunar +bindsym $mod+z exec zeal # Pulse Audio controls diff --git a/config/i3/configWork b/config/i3/configWork index 888148d6..1f0f48e3 100644 --- a/config/i3/configWork +++ b/config/i3/configWork @@ -79,10 +79,10 @@ bindsym $mod+Up focus up bindsym $mod+Right focus right # move focused window -bindsym $mod+Shift+h move left bindsym $mod+Shift+j move down bindsym $mod+Shift+k move up bindsym $mod+Shift+l move right +bindsym $mod+Shift+h move left # alternatively, you can use the cursor keys: bindsym $mod+Shift+Left move left @@ -175,9 +175,6 @@ for_window [class="Galculator"] floating enable # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod+Shift+r restart -# exit i3 (logs you out of your X session) -bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" - # resize window (you can also use the mouse for that) mode "resize" { # These bindings trigger as soon as you enter the resize mode