sd
This commit is contained in:
parent
e3f65318ae
commit
c101b90396
@ -3,10 +3,12 @@ echo $id
|
||||
id=$(xrandr)
|
||||
id="HDMI${id#*HDMI}" #remove prefix to "HDMI" this does the # the * signifies what to remove
|
||||
id="${id%%[[:space:]]*}"
|
||||
echo $id
|
||||
|
||||
|
||||
xrandr --output eDP-1-1 --off
|
||||
echo $id "On"
|
||||
id2=$(xrandr)
|
||||
id2="eDP${id2#*eDP}"
|
||||
id2="${id2%%[[:space:]]*}"
|
||||
echo $id2 "Off"
|
||||
xrandr --output $id2 --off
|
||||
xrandr --output $id --auto
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user