diff options
author | Shubham Saini <pryr@pryr.xyz> | 2021-05-28 10:18:03 +0000 |
---|---|---|
committer | Shubham Saini <pryr@pryr.xyz> | 2021-05-28 10:18:03 +0000 |
commit | 0a682cb686af7f40dbd19d214e652d01be1e5ae6 (patch) | |
tree | d1215311b37ddcfd352e0d7269f170dcfd055f81 /bin | |
parent | a9f4fdfef13577dfa159b1c82826230fe982fa86 (diff) |
fixed disp
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/.bin/disp | 3 |
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 | ||
3 | status=$(cat /sys/class/drm/card0/*HDMI*/status) | 3 | status=$(cat /sys/class/drm/card0/*HDMI*/status) |
4 | if [ $status == "connected" ]; then | 4 | if [ $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 |
7 | else | 8 | else |
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 |