[i3] Add mirroring options
This commit is contained in:
parent
7baa62481b
commit
3547b908c5
1 changed files with 13 additions and 2 deletions
15
i3/config
15
i3/config
|
@ -186,6 +186,18 @@ bar {
|
|||
|
||||
bindsym Mod4+Escape exec lock
|
||||
|
||||
set $mirrorDisplayMode "1)VGA 2)HDMI"
|
||||
mode $mirrorDisplayMode {
|
||||
bindsym 1 exec "mirror-monitor-vga" \
|
||||
mode "default"
|
||||
|
||||
bindsym 2 exec "mirror-monitor-hdmi" \
|
||||
mode "default"
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
set $displayMode "Set display mode [w]ork [l]aptop [m]irror"
|
||||
bindsym Mod4+x mode $displayMode
|
||||
|
||||
|
@ -196,8 +208,7 @@ mode $displayMode {
|
|||
bindsym w exec "multi-monitor" \
|
||||
mode "default"
|
||||
|
||||
bindsym m exec "mirror-monitor" \
|
||||
mode "default"
|
||||
bindsym m mode $mirrorDisplayMode
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
|
|
Loading…
Reference in a new issue