added multi-monitor keybindings and screenshot keybindings.
This commit is contained in:
parent
b533866b68
commit
19934de28b
|
@ -48,23 +48,23 @@ font pango:DejaVu Sans Mono 8
|
||||||
bindsym $mod+k focus up
|
bindsym $mod+k focus up
|
||||||
bindsym $mod+l focus right
|
bindsym $mod+l focus right
|
||||||
|
|
||||||
# alternatively, you can use the cursor keys:
|
|
||||||
bindsym $mod+Left focus left
|
|
||||||
bindsym $mod+Down focus down
|
|
||||||
bindsym $mod+Up focus up
|
|
||||||
bindsym $mod+Right focus right
|
|
||||||
|
|
||||||
# move focused window
|
# move focused window
|
||||||
bindsym $mod+Shift+h move left
|
bindsym $mod+Shift+h move left
|
||||||
bindsym $mod+Shift+j move down
|
bindsym $mod+Shift+j move down
|
||||||
bindsym $mod+Shift+k move up
|
bindsym $mod+Shift+k move up
|
||||||
bindsym $mod+Shift+l move right
|
bindsym $mod+Shift+l move right
|
||||||
|
|
||||||
# alternatively, you can use the cursor keys:
|
# move workspace between monitors
|
||||||
bindsym $mod+Shift+Left move left
|
bindsym $mod+mod1+Shift+h move workspace to output left
|
||||||
bindsym $mod+Shift+Down move down
|
bindsym $mod+mod1+Shift+j move workspace to output down
|
||||||
bindsym $mod+Shift+Up move up
|
bindsym $mod+mod1+Shift+k move workspace to output up
|
||||||
bindsym $mod+Shift+Right move right
|
bindsym $mod+mod1+Shift+l move workspace to output right
|
||||||
|
|
||||||
|
# move container between monitors
|
||||||
|
bindsym $mod+mod1+h move container to output left
|
||||||
|
bindsym $mod+mod1+j move container to output down
|
||||||
|
bindsym $mod+mod1+k move container to output up
|
||||||
|
bindsym $mod+mod1+l move container to output right
|
||||||
|
|
||||||
## split in horizontal orientation
|
## split in horizontal orientation
|
||||||
bindsym $mod+shift+backslash split h
|
bindsym $mod+shift+backslash split h
|
||||||
|
@ -76,7 +76,7 @@ font pango:DejaVu Sans Mono 8
|
||||||
bindsym $mod+f fullscreen toggle
|
bindsym $mod+f fullscreen toggle
|
||||||
|
|
||||||
# change container layout (stacked, tabbed, toggle split)
|
# change container layout (stacked, tabbed, toggle split)
|
||||||
bindsym $mod+s layout stacking
|
bindsym $mod+q layout stacking
|
||||||
bindsym $mod+w layout tabbed
|
bindsym $mod+w layout tabbed
|
||||||
bindsym $mod+e layout toggle split
|
bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ font pango:DejaVu Sans Mono 8
|
||||||
bindsym $mod+z focus child
|
bindsym $mod+z focus child
|
||||||
|
|
||||||
#make a floating window sticky (moves workspaces with you)
|
#make a floating window sticky (moves workspaces with you)
|
||||||
bindsym $mod+Shift+s sticky toggle
|
bindsym $mod+Shift+a sticky toggle
|
||||||
|
|
||||||
#make currently focused window a scratchpad
|
#make currently focused window a scratchpad
|
||||||
bindsym $mod+shift+plus move scratchpad
|
bindsym $mod+shift+plus move scratchpad
|
||||||
|
@ -176,6 +176,10 @@ font pango:DejaVu Sans Mono 8
|
||||||
bindsym $mod+x exec "$lock_command"
|
bindsym $mod+x exec "$lock_command"
|
||||||
bindsym $mod+shift+x exec "$lock_command"; exec "systemctl suspend"
|
bindsym $mod+shift+x exec "$lock_command"; exec "systemctl suspend"
|
||||||
|
|
||||||
|
#screenshot everything with mod+s, current window with mod+shift+x
|
||||||
|
bindsym $mod+s exec "maim ~/Pictures/$(date +%s).png"
|
||||||
|
bindsym $mod+shift+s exec "maim -i $(xdotool getactivewindow) ~/$(date +%s).png"
|
||||||
|
|
||||||
#make certan windwows always floating
|
#make certan windwows always floating
|
||||||
#volume controll
|
#volume controll
|
||||||
for_window [class="Pavucontrol"] floating enable
|
for_window [class="Pavucontrol"] floating enable
|
||||||
|
|
Loading…
Reference in a new issue