runedock
This commit is contained in:
parent
268acccf35
commit
be200795a4
15
bin/xorg/butterfree/runedock
Executable file
15
bin/xorg/butterfree/runedock
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
source ${0:a:h}/common
|
||||||
|
[ ! $EXTERNAL_MONITOR ] && {
|
||||||
|
NOTIFY 'No external monitor connected!'
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
xrandr \
|
||||||
|
--output $EXTERNAL_MONITOR \
|
||||||
|
--primary \
|
||||||
|
--mode 1280x720 \
|
||||||
|
--rotate normal \
|
||||||
|
--pos 0x0 \
|
||||||
|
&& DISCONNECT_OTHER login \
|
||||||
|
|| NOTIFY "Unable to connect '$EXTERNAL_MONITOR' to 1920x1080"
|
10
bin/xorg/butterfree/runeundock
Executable file
10
bin/xorg/butterfree/runeundock
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
source ${0:a:h}/common
|
||||||
|
xrandr \
|
||||||
|
--output eDP1 \
|
||||||
|
--primary \
|
||||||
|
--mode 1280x720 \
|
||||||
|
--rotate normal \
|
||||||
|
--pos 0x0 \
|
||||||
|
&& DISCONNECT_OTHER login \
|
||||||
|
|| NOTIFY "Unable to connect to do the thing :S"
|
Loading…
Reference in New Issue
Block a user