updates for butterfree
This commit is contained in:
parent
69e697fb7c
commit
b2a7c1c699
@ -23,11 +23,12 @@ EXTERNAL_MONITOR=$(GET_DEFAULT_EXTERNAL_MONITOR)
|
|||||||
DISCONNECT_OTHER() {
|
DISCONNECT_OTHER() {
|
||||||
local SFX="$1"
|
local SFX="$1"
|
||||||
|
|
||||||
for D in $(xrandr | awk '{print $1;}' | grep -v $(GET_PRIMARY_MONITOR))
|
for D in $(xrandr --listmonitors | sed '1d' | awk '{print $NF;}' | grep -v "^$(GET_PRIMARY_MONITOR)$")
|
||||||
do
|
do
|
||||||
xrandr --output $D --off
|
xrandr --output $D --off
|
||||||
done
|
done
|
||||||
|
|
||||||
|
sleep 1
|
||||||
$DOTWRYN/bin/randomize-background
|
$DOTWRYN/bin/randomize-background
|
||||||
|
|
||||||
[ $SFX ] && ( PLAY_SFX $SFX ) &
|
[ $SFX ] && ( PLAY_SFX $SFX ) &
|
||||||
|
Loading…
Reference in New Issue
Block a user