aboutsummaryrefslogtreecommitdiff
path: root/i3/config.d
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
parentc1b861e888e3b51c1c7ee41c7c505f30601a1695 (diff)
downloaddotfiles-50f4c789041c1395d9f4304514e6737ce7c10f9c.tar.gz
i3 refactor config
Diffstat (limited to 'i3/config.d')
-rw-r--r--i3/config.d/20-visual.conf2
-rw-r--r--i3/config.d/40-app-shortcuts.conf3
-rw-r--r--i3/config.d/40-i3-shortcuts.conf54
-rw-r--r--i3/config.d/40-wm-shortcuts.conf60
4 files changed, 61 insertions, 58 deletions
diff --git a/i3/config.d/20-visual.conf b/i3/config.d/20-visual.conf
index 84a4762..883f2e2 100644
--- a/i3/config.d/20-visual.conf
+++ b/i3/config.d/20-visual.conf
@@ -28,6 +28,6 @@ client.background $black
default_border none
default_floating_border none
-for_window [all] border pixel 0
+#for_window [all] border pixel 0
gaps inner 5
diff --git a/i3/config.d/40-app-shortcuts.conf b/i3/config.d/40-app-shortcuts.conf
index c893ee5..83082df 100644
--- a/i3/config.d/40-app-shortcuts.conf
+++ b/i3/config.d/40-app-shortcuts.conf
@@ -17,9 +17,6 @@ bindsym $mod+p exec "flameshot gui"
# rofi
bindsym $mod+d exec rofi drun -show drun -terminal termite -run-command "/bin/bash -i -c '{cmd}'"
-# Scratchpad
-bindsym $mod+Shift+BackSpace move scratchpad
-bindsym $mod+BackSpace scratchpad show
# notifications
bindsym $mod+n exec "kill -s USR1 $(pidof deadd-notification-center)"
diff --git a/i3/config.d/40-i3-shortcuts.conf b/i3/config.d/40-i3-shortcuts.conf
index d4e49f5..b5585b1 100644
--- a/i3/config.d/40-i3-shortcuts.conf
+++ b/i3/config.d/40-i3-shortcuts.conf
@@ -2,60 +2,6 @@
bindsym $mod+Shift+e exec "rofi -show fb -modi fb:rofi-exit-menu.sh"
-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
# Pulse Audio controls
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl -- set-sink-volume 0 +5%
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