changed to pass as the password manager
[dotfiles.git] / .config / i3 / config
index fe3844b..823f9bc 100644 (file)
@@ -16,6 +16,10 @@ exec convert -size 1600x900 plasma:fractal -modulate 20,100,10 png:- | display -
 exec xbacklight -set 50
 exec netctltray
 
+# Custom keybindings
+bindsym $mod+l exec xautolock -locknow
+bindsym $mod+p exec passmenu
+
 # Font for window titles. Will also be used by the bar unless a different font
 # is used in the bar {} block below.
 # This font is widely installed, provides lots of unicode glyphs, right-to-left
@@ -35,8 +39,6 @@ hide_edge_borders none
 # start a terminal
 bindsym $mod+Return exec i3-sensible-terminal
 
-# lock the screen
-bindsym $mod+l exec xautolock -locknow
 
 # kill focused window
 bindsym $mod+Shift+quotedbl kill
@@ -130,30 +132,30 @@ bindsym $mod+Shift+p restart
 bindsym $mod+Shift+period exec i3-msg exit
 
 # resize window (you can also use the mouse for that)
-mode "resize" {
-        # These bindings trigger as soon as you enter the resize mode
-
-        # Pressing left will shrink the window’s width.
-        # Pressing right will grow the window’s width.
-        # Pressing up will shrink the window’s height.
-        # Pressing down will grow the window’s height.
-        bindsym h resize shrink width 10 px or 10 ppt
-        bindsym t resize grow height 10 px or 10 ppt
-        bindsym n resize shrink height 10 px or 10 ppt
-        bindsym s resize grow width 10 px or 10 ppt
-
-        # same bindings, but for the arrow keys
-        bindsym Left resize shrink width 10 px or 10 ppt
-        bindsym Down resize grow height 10 px or 10 ppt
-        bindsym Up resize shrink height 10 px or 10 ppt
-        bindsym Right resize grow width 10 px or 10 ppt
-
-        # back to normal: Enter or Escape
-        bindsym Return mode "default"
-        bindsym Escape mode "default"
-}
-
-bindsym $mod+p mode "resize"
+#mode "resize" {
+#        # These bindings trigger as soon as you enter the resize mode
+#
+#        # Pressing left will shrink the window’s width.
+#        # Pressing right will grow the window’s width.
+#        # Pressing up will shrink the window’s height.
+#        # Pressing down will grow the window’s height.
+#        bindsym h resize shrink width 10 px or 10 ppt
+#        bindsym t resize grow height 10 px or 10 ppt
+#        bindsym n resize shrink height 10 px or 10 ppt
+#        bindsym s resize grow width 10 px or 10 ppt
+#
+#        # same bindings, but for the arrow keys
+#        bindsym Left resize shrink width 10 px or 10 ppt
+#        bindsym Down resize grow height 10 px or 10 ppt
+#        bindsym Up resize shrink height 10 px or 10 ppt
+#        bindsym Right resize grow width 10 px or 10 ppt
+#
+#        # back to normal: Enter or Escape
+#        bindsym Return mode "default"
+#        bindsym Escape mode "default"
+#}
+#
+#bindsym $mod+p mode "resize"
 
 # Start i3bar to display a workspace bar (plus the system information i3status
 # finds out, if available)