summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dot_config/i3/config26
1 files changed, 9 insertions, 17 deletions
diff --git a/dot_config/i3/config b/dot_config/i3/config
index 51801da..31ee37a 100644
--- a/dot_config/i3/config
+++ b/dot_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 https://i3wm.org/docs/userguide.html for a complete reference!
@@ -13,11 +6,7 @@ set $mod Mod1
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
-font pango:Iosevka Nerd Font 13px
-
-# This font is widely installed, provides lots of unicode glyphs, right-to-left
-# text rendering and scalability on retina/hidpi displays (thanks to pango).
-#font pango:DejaVu Sans Mono 8
+font pango:Iosevka Nerd Font 10
# Start XDG autostart .desktop files using dex. See also
# https://wiki.archlinux.org/index.php/XDG_Autostart
@@ -82,11 +71,11 @@ 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
+# split in horizontal orientation
+bindsym $mod+Shift+v split h
+
+# split in vertical orientation
+bindsym $mod+Shift+s split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
@@ -152,6 +141,9 @@ 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'"
+# Lock the desktop using i3lock
+bindsym $mod+Control+l exec --no-startup-id i3lock
+
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode