• Communist@lemmy.frozeninferno.xyz
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    19 hours ago

    Or do this and never deal with this again

     exec-once = while ! hyprlock -c ~/.config/hypr/hyprlock/hyprlock-startup.conf > /dev/null; do sleep 0.01 > /dev/null; done > /dev/null 
    
     exec-once = swayidle timeout 600 'pidof hyprlock || ( hyprlock -c ~/.config/hypr/hyprlock/hyprlock-screenshot.conf --grace 59 > /dev/null || while ! hyprlock -c ~/.config/hypr/hyprlock/hyprlock-startup.conf > /dev/null; do sleep 0.01 > /dev/null; done > /dev/null )'