add moveworkspace and lock
This commit is contained in:
parent
1580607c00
commit
4a117ae1ba
2 changed files with 30 additions and 2 deletions
28
.i3/config
28
.i3/config
|
|
@ -47,6 +47,8 @@ bindsym $mod+Shift+c kill
|
|||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym $mod+d exec dmenu_run
|
||||
|
||||
bindsym $mod+F12 exec xscreensaver-command -lock
|
||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||
# installed.
|
||||
|
|
@ -157,10 +159,36 @@ mode "resize" {
|
|||
# back to normal: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym $mod+r mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
mode "moveworkspace" {
|
||||
# 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 move workspace to output left
|
||||
bindsym j move workspace to output down
|
||||
bindsym k move workspace to output up
|
||||
bindsym l move workspace to output right
|
||||
|
||||
# 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+t mode "moveworkspace"
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
bar {
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@ ethernet eth0 {
|
|||
|
||||
battery 0 {
|
||||
format = "%status %remaining"
|
||||
last_full_capacity = true
|
||||
integer_battery_capacity = true
|
||||
#last_full_capacity = true
|
||||
#integer_battery_capacity = true
|
||||
}
|
||||
|
||||
run_watch DHCP {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue