From 4f2ef98d49b93d85aca066ffd578bfe11ffe0a12 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 2 Oct 2026 22:12:15 +0800 Subject: bump(hyprsunset): update with upstream --- hyprsunset.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hyprsunset.sh') diff --git a/hyprsunset.sh b/hyprsunset.sh index 4b6e045..332b027 100755 --- a/hyprsunset.sh +++ b/hyprsunset.sh @@ -53,9 +53,9 @@ calculate_sleep_time() { } while true; do - if [ ! -d /run/user/$UID/hypr/hyprsunset ]; then + if [ ! -S $XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.hyprsunset.sock ]; then echo "Hyprsunset not running, running it via hyprctl dispatch" - hyprctl dispatch execr hyprsunset + hyprctl dispatch "hl.dsp.exec_raw('hyprsunset')" fi apply_settings sleep_time=$(calculate_sleep_time) -- cgit v1.2.3