diff --git a/Laptop/bspwm/bspwmrc b/Laptop/bspwm/bspwmrc
index 800b1d5..c3110dc 100755
--- a/Laptop/bspwm/bspwmrc
+++ b/Laptop/bspwm/bspwmrc
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+export PRIMARY_DISPLAY="$(xrandr | awk '/ primary/{print $1}')"
+
 xhost +si:localuser:$USER & 
 xmodmap ~/.Xmodmap
 
@@ -27,7 +29,7 @@ bspc config focused_border_color  "#93D4C5"
 
 pgrep -x polybar > /dev/null || polybar &
 pgrep -x sxhkd > /dev/null || sxhkd &
-pgrep -x xidlehook > /dev/null || xidlehook --not-when-fullscreen --not-when-audio --timer 300 'betterlockscreen -l' '' --timer 1200 'sudo zzz' '' &
+pgrep -x xidlehook > /dev/null || xidlehook --detect-sleep --not-when-fullscreen --not-when-audio --timer 300 'betterlockscreen -l' '' --timer 1200 'sudo zzz' '' &
 pgrep -x xmousepasteblock > /dev/null || xmousepasteblock &
 pgrep -x syndaemon > /dev/null || syndaemon -d -i 0.5 &