feat(xidlehook): update xidlehook autostart configuration
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
export PRIMARY_DISPLAY="$(xrandr | awk '/ primary/{print $1}')"
|
||||||
|
|
||||||
xhost +si:localuser:$USER &
|
xhost +si:localuser:$USER &
|
||||||
xmodmap ~/.Xmodmap
|
xmodmap ~/.Xmodmap
|
||||||
|
|
||||||
@@ -27,7 +29,7 @@ bspc config focused_border_color "#93D4C5"
|
|||||||
|
|
||||||
pgrep -x polybar > /dev/null || polybar &
|
pgrep -x polybar > /dev/null || polybar &
|
||||||
pgrep -x sxhkd > /dev/null || sxhkd &
|
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 xmousepasteblock > /dev/null || xmousepasteblock &
|
||||||
pgrep -x syndaemon > /dev/null || syndaemon -d -i 0.5 &
|
pgrep -x syndaemon > /dev/null || syndaemon -d -i 0.5 &
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user