|
@@ -29,7 +29,7 @@ bindsym Mod1+Ctrl+l exec "~/.scripts/lock.sh && echo mem | sudo /usr/bin/tee /sy
|
|
|
# Type password
|
|
|
bindsym Mod1+p exec passmenu --type -i
|
|
|
# Open URL in PRIMARY selection
|
|
|
-bindsym Mod1+o exec xdg-open $(xsel -po)
|
|
|
+bindsym Mod1+Shift+o exec xdg-open $(xsel -po)
|
|
|
|
|
|
# Take a screenshot
|
|
|
bindsym Print exec --no-startup-id "~/.scripts/screenshot.sh"
|
|
@@ -164,30 +164,10 @@ bindsym Mod1+Shift+r restart
|
|
|
bindsym Mod1+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'"
|
|
|
|
|
|
# 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 $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
|
|
|
-
|
|
|
- # 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 Mod1+r mode "resize"
|
|
|
+bindsym Mod1+y resize shrink width 10 px or 10 ppt
|
|
|
+bindsym Mod1+u resize grow height 10 px or 10 ppt
|
|
|
+bindsym Mod1+i resize shrink height 10 px or 10 ppt
|
|
|
+bindsym Mod1+o resize grow width 10 px or 10 ppt
|
|
|
|
|
|
exec_always --no-startup-id ~/.config/polybar/launch.sh
|
|
|
|