From a31bc991450efc73cd72287fa75f5f49bc9bf080 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Tue, 11 Aug 2015 11:15:51 +0200 Subject: [PATCH] Hopefully a fix for the lost windows problem --- scripts/monitor_switch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/monitor_switch.sh b/scripts/monitor_switch.sh index 6ecfb04..9bb6cc4 100755 --- a/scripts/monitor_switch.sh +++ b/scripts/monitor_switch.sh @@ -6,7 +6,7 @@ EXTERN=VGA1 if [ -z "$(xrandr -q | grep "$EXTERN connected")" ]; then bspc query -W -m VGA1 | while read $wid; do - bspc window $wid -m LVDS1 + bspc window $wid -m "LVDS1:^1" done fi