mirror of
https://github.com/pgrondek/config.git
synced 2024-11-22 12:03:43 +00:00
[i3] Add mirroring options
This commit is contained in:
parent
7baa62481b
commit
3547b908c5
15
i3/config
15
i3/config
@ -186,6 +186,18 @@ bar {
|
|||||||
|
|
||||||
bindsym Mod4+Escape exec lock
|
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"
|
set $displayMode "Set display mode [w]ork [l]aptop [m]irror"
|
||||||
bindsym Mod4+x mode $displayMode
|
bindsym Mod4+x mode $displayMode
|
||||||
|
|
||||||
@ -196,8 +208,7 @@ mode $displayMode {
|
|||||||
bindsym w exec "multi-monitor" \
|
bindsym w exec "multi-monitor" \
|
||||||
mode "default"
|
mode "default"
|
||||||
|
|
||||||
bindsym m exec "mirror-monitor" \
|
bindsym m mode $mirrorDisplayMode
|
||||||
mode "default"
|
|
||||||
|
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
|
Loading…
Reference in New Issue
Block a user