summaryrefslogtreecommitdiff
path: root/i3/config
diff options
context:
space:
mode:
Diffstat (limited to 'i3/config')
-rw-r--r--i3/config17
1 files changed, 13 insertions, 4 deletions
diff --git a/i3/config b/i3/config
index 75330d5..56bdabf 100644
--- a/i3/config
+++ b/i3/config
@@ -23,18 +23,27 @@ bindsym $mod+Shift+q kill
# launcher
bindsym $mod+d exec rofi -show run -hide-scrollbar -separator-style "solid"
-# i3lock
-bindsym $mod+l exec ~/.config/i3/lock.sh
-exec xautolock -time 15 -locker '~/.config/i3/lock.sh'
-
# reload the configuration file
bindsym $mod+Shift+c reload
+
# 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'"
+# --- custom shortcuts ----------------------------------------------------------------------------
+
+
+# i3lock
+bindsym $mod+l exec ~/.config/i3/lock.sh
+exec xautolock -time 15 -locker '~/.config/i3/lock.sh'
+
+# touchpad toggle
+bindsym $mod+t exec ~/.config/i3/toggle_mouse.sh
+
+
# --- navigation ----------------------------------------------------------------------------------