2015-05-29 21:08:06 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
cd $(dirname $0)
|
|
|
|
|
2015-06-26 08:47:39 +02:00
|
|
|
EXTERN=VGA1
|
|
|
|
|
|
|
|
if [ -z "$(xrandr -q | grep "$EXTERN connected")" ]; then
|
|
|
|
bspc query -W -m VGA1 | while read $wid; do
|
2015-08-11 11:15:51 +02:00
|
|
|
bspc window $wid -m "LVDS1:^1"
|
2015-06-26 08:47:39 +02:00
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
2015-05-29 21:08:06 +02:00
|
|
|
./prepare_monitors.sh
|
|
|
|
nitrogen --restore &
|
|
|
|
~/.config/bspwm/bspwmrc
|