diff options
Diffstat (limited to '')
-rwxr-xr-x | .config/bspwm/bspwmrc | 2 | ||||
-rwxr-xr-x | .local/bin/dualscreen | 6 | ||||
-rwxr-xr-x | .local/bin/triplescreen | 22 |
3 files changed, 8 insertions, 22 deletions
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 9f2bb17..09bb9d4 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -87,7 +87,7 @@ sub enable_screens ($stdout, undef, undef) = capture { system(XRANDR_PATH); }; - if ($stdout =~ m/DP1 connected/ && $stdout =~ m/VGA1 connected/ == 1) { + if ($stdout =~ m/HDMI1 connected/ && $stdout =~ m/VGA1 connected/ == 1) { $screens = 3; system(TRIPLESCREEN_PATH); } diff --git a/.local/bin/dualscreen b/.local/bin/dualscreen index 1e54bd9..01d291f 100755 --- a/.local/bin/dualscreen +++ b/.local/bin/dualscreen @@ -1,13 +1,13 @@ #!/bin/sh xrandr --output VGA1 --off -xrandr --output HDMI1 --off -xrandr --output DP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal +xrandr --output HDMI1 --primary --mode 1920x1080 --pos 0x0 --rotate normal +xrandr --output DP1 --off xrandr --output LVDS1 --mode 1366x768 --pos 1920x312 --rotate normal xrandr --output HDMI2 --off xrandr --output HDMI3 --off xrandr --output DP2 --off xrandr --output DP3 --off -bspc monitor DP1 -d 01 02 03 04 05 06 07 +bspc monitor HDMI1 -d 01 02 03 04 05 06 07 bspc monitor LVDS1 -d 08 09 10 11 12 diff --git a/.local/bin/triplescreen b/.local/bin/triplescreen index 39021d2..94a95a7 100755 --- a/.local/bin/triplescreen +++ b/.local/bin/triplescreen @@ -1,27 +1,13 @@ #!/bin/sh -# Small screen on the left -# xrandr --output LVDS1 --off -# xrandr --output VGA1 --mode 1440x900 --pos 0x324 --rotate normal -# xrandr --output HDMI1 --off -# xrandr --output DP1 --primary --mode 1920x1080 --pos 1440x0 --rotate normal -# xrandr --output HDMI2 --off -# xrandr --output HDMI3 --off -# xrandr --output DP2 --off -# xrandr --output DP3 --off - -# bspc monitor VGA1 -d 01 02 03 04 09 10 11 12 -# bspc monitor DP1 -d 05 06 07 08 - -# Small screen on the right xrandr --output LVDS1 --off -xrandr --output HDMI1 --off -xrandr --output DP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal -xrandr --output VGA1 --mode 1440x900 --pos 1920x226 --rotate normal +xrandr --output HDMI1 --primary --mode 1920x1080 --pos 0x0 --rotate normal +xrandr --output DP1 --off +xrandr --output VGA1 --mode 1440x900 --pos 1920x20 --rotate normal xrandr --output HDMI2 --off xrandr --output HDMI3 --off xrandr --output DP2 --off xrandr --output DP3 --off +bspc monitor HDMI1 -d 01 02 03 04 05 06 07 bspc monitor VGA1 -d 08 09 10 11 12 -bspc monitor DP1 -d 01 02 03 04 05 06 07 |