1
0
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:
Przemysław Grondek 2019-12-10 11:42:12 +01:00
parent 7baa62481b
commit 3547b908c5

View File

@ -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"