update display devices

This commit is contained in:
Jesús 2021-10-01 12:38:43 -05:00
parent 585f7de3fb
commit 87ff823501
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

8
config
View File

@ -261,10 +261,10 @@ bindsym Pause exec "bash $HOME/.config/i3/scripts/i3lock.bash"
# Set the shortcuts and what they do # Set the shortcuts and what they do
set $mode_display Ext Screen (v) VGA ON, (h) HDMI ON, (x) VGA OFF, (y) HDMI OFF set $mode_display Ext Screen (v) VGA ON, (h) HDMI ON, (x) VGA OFF, (y) HDMI OFF
mode "$mode_display" { mode "$mode_display" {
bindsym v exec --no-startup-id xrandr --output VGA1 --auto --right-of LVDS1, mode "default" bindsym v exec --no-startup-id xrandr --output VGA-1 --auto --right-of LVDS-1, mode "default"
bindsym h exec --no-startup-id xrandr --output HDMI1 --auto --right-of LVDS1, mode "default" bindsym h exec --no-startup-id xrandr --output HDMI-1 --auto --right-of LVDS-1, mode "default"
bindsym x exec --no-startup-id xrandr --output VGA1 --auto --off, mode "default" bindsym x exec --no-startup-id xrandr --output VGA-1 --auto --off, mode "default"
bindsym y exec --no-startup-id xrandr --output HDMI1 --auto --off, mode "default" bindsym y exec --no-startup-id xrandr --output HDMI-1 --auto --off, mode "default"
# back to normal: Enter or Escape # back to normal: Enter or Escape
bindsym Return mode "default" bindsym Return mode "default"