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:
parent
7968462dc9
commit
a9c30d981e
29
i3-config
29
i3-config
@ -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"
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user