From 50f4c789041c1395d9f4304514e6737ce7c10f9c Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 1 Dec 2022 13:12:22 +0100 Subject: i3 refactor config --- i3/config.d/40-wm-shortcuts.conf | 60 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 i3/config.d/40-wm-shortcuts.conf (limited to 'i3/config.d/40-wm-shortcuts.conf') diff --git a/i3/config.d/40-wm-shortcuts.conf b/i3/config.d/40-wm-shortcuts.conf new file mode 100644 index 0000000..ee3fd29 --- /dev/null +++ b/i3/config.d/40-wm-shortcuts.conf @@ -0,0 +1,60 @@ +# vi: ft=i3config + +bindsym $mod+Shift+c reload +bindsym $mod+Shift+r restart + +bindsym $mod+Shift+q kill + +# change focus +bindsym $mod+j focus left +bindsym $mod+k focus down +bindsym $mod+l focus up +bindsym $mod+odiaeresis focus right + +# alternatively, you can use the cursor keys: +bindsym $mod+Left focus left +bindsym $mod+Down focus down +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+odiaeresis move right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +# split in horizontal orientation +bindsym $mod+h split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# focus the child container +# bindsym $mod+d focus child + +# Scratchpad +bindsym $mod+Shift+BackSpace move scratchpad +bindsym $mod+BackSpace scratchpad show -- cgit v1.2.3