1
0
mirror of https://github.com/pgrondek/config.git synced 2024-11-22 20:13:43 +00:00

[i3] Added display mode and workspace move mode

This commit is contained in:
Przemyslaw Grondek 2019-05-24 10:32:43 +02:00
parent 7968462dc9
commit a9c30d981e

View File

@ -184,3 +184,32 @@ bar {
} }
bindsym Mod4+Escape exec lock bindsym Mod4+Escape exec lock
set $displayMode "Set display mode [w]ork [l]aptop"
bindsym Mod4+x mode $displayMode
mode $displayMode {
bindsym l exec "single-monitor" \
mode "default"
bindsym w exec "multi-monitor" \
mode "default"
bindsym Return mode "default"
bindsym Escape mode "default"
}
set $workspaceMove "Move workspace ←/h →/l"
bindsym Mod4+grave mode $workspaceMove
mode $workspaceMove {
bindsym Left "move workspace to output left"
bindsym Right "move workspace to output right"
bindsym h "move workspace to output left"
bindsym l "move workspace to output right"
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym Mod4+grave mode "default"
}