diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-10-02 22:12:15 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-10-02 22:12:15 +0800 |
| commit | 4f2ef98d49b93d85aca066ffd578bfe11ffe0a12 (patch) | |
| tree | ee0c6ed8b373364bdef54073b942672e0af16976 | |
| parent | f8a2391314432a9e9f0f5f7b79c40dba841420f2 (diff) | |
bump(hyprsunset): update with upstream
| -rwxr-xr-x | hyprsunset.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
