summaryrefslogtreecommitdiff
path: root/bin/.bin/disp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/.bin/disp')
-rwxr-xr-xbin/.bin/disp3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/.bin/disp b/bin/.bin/disp
index 43d6987..1ebbd8d 100755
--- a/bin/.bin/disp
+++ b/bin/.bin/disp
@@ -2,7 +2,8 @@
2 2
3status=$(cat /sys/class/drm/card0/*HDMI*/status) 3status=$(cat /sys/class/drm/card0/*HDMI*/status)
4if [ $status == "connected" ]; then 4if [ $status == "connected" ]; then
5 xrandr --output eDP-1 --mode 1920x1080 --pos 0x1076 --rotate normal --output HDMI-1 --primary --mode 1366x768 --scale 1.4x1.4 --pos 0x0 --rotate normal --output DP-1 --off 5 # xrandr --output eDP-1 --mode 1920x1080 --pos 0x1076 --rotate normal --output HDMI-1 --primary --mode 1366x768 --scale 1.4x1.4 --pos 0x0 --rotate normal --output DP-1 --off
6 xrandr --output eDP-1 --mode 1920x1080 --pos 0x768 --scale 1 --output HDMI-1 --primary --mode 1366x768 --pos 318x0 --scale 1
6 bspc wm -r 7 bspc wm -r
7else 8else
8 xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-1 --off --output DisplayPort-0 --off 9 xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-1 --off --output DisplayPort-0 --off