aboutsummaryrefslogtreecommitdiff
path: root/i3/config.d/40-wm-shortcuts.conf
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2022-12-01 13:12:22 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2022-12-01 13:12:22 +0100
commit50f4c789041c1395d9f4304514e6737ce7c10f9c (patch)
treeef51a90001ec23fdca6392b28872ed98c30b8bc2 /i3/config.d/40-wm-shortcuts.conf
parentc1b861e888e3b51c1c7ee41c7c505f30601a1695 (diff)
downloaddotfiles-50f4c789041c1395d9f4304514e6737ce7c10f9c.tar.gz
i3 refactor config
Diffstat (limited to 'i3/config.d/40-wm-shortcuts.conf')
-rw-r--r--i3/config.d/40-wm-shortcuts.conf60
1 files changed, 60 insertions, 0 deletions
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