aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbspwmrc3
-rwxr-xr-xinit_monitor.sh4
2 files changed, 3 insertions, 4 deletions
diff --git a/bspwmrc b/bspwmrc
index c948de7..8145c5a 100755
--- a/bspwmrc
+++ b/bspwmrc
@@ -22,6 +22,9 @@ fi
pgrep -x sxhkd > /dev/null || sxhkd &
+xrandr --output 'DP2' --auto
+xrandr --output 'DP2' --right-of 'eDP1'
+
xss-lock --transfer-sleep-lock -- i3lock-fancy-rapid 1 10 &
killall -qw pipewire; pipewire &
diff --git a/init_monitor.sh b/init_monitor.sh
index 7f682c4..e2ed676 100755
--- a/init_monitor.sh
+++ b/init_monitor.sh
@@ -17,10 +17,6 @@
while [ true ]; do
if [ "$(xrandr -q | grep 'DP2' | awk '{print $2}')" == "connected" ]; then
- xrandr --output 'DP2' --auto
- sleep 4
-
- xrandr --output 'DP2' --right-of 'eDP1'
bspc monitor 'DP2' -n 2 -d 1 2 3 4 5 6 7 8 9
exit 0
fi