summaryrefslogtreecommitdiff
path: root/bin/.bin/disp
diff options
context:
space:
mode:
authorShubham Saini <pryr@pryr.xyz>2021-05-28 10:18:03 +0000
committerShubham Saini <pryr@pryr.xyz>2021-05-28 10:18:03 +0000
commit0a682cb686af7f40dbd19d214e652d01be1e5ae6 (patch)
treed1215311b37ddcfd352e0d7269f170dcfd055f81 /bin/.bin/disp
parenta9f4fdfef13577dfa159b1c82826230fe982fa86 (diff)
fixed disp
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