From 65ba23d0bbc063495ba2d1599ce2fe36a0865a1a Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 3 Aug 2025 10:45:39 +0200 Subject: [PATCH] Extract omarchy-refresh-hyprsunset --- bin/omarchy-refresh-hyprsunset | 4 ++++ migrations/1754109724.sh | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100755 bin/omarchy-refresh-hyprsunset diff --git a/bin/omarchy-refresh-hyprsunset b/bin/omarchy-refresh-hyprsunset new file mode 100755 index 0000000..d30260d --- /dev/null +++ b/bin/omarchy-refresh-hyprsunset @@ -0,0 +1,4 @@ +#!/bin/bash + +omarchy-refresh-config hypr/hyprsunset.conf +omarchy-restart-app hyprsunset diff --git a/migrations/1754109724.sh b/migrations/1754109724.sh index cdb9fe4..6c0e984 100644 --- a/migrations/1754109724.sh +++ b/migrations/1754109724.sh @@ -1,7 +1,6 @@ echo "Add hyprsunset blue light filter" if ! command -v hyprsunset &>/dev/null; then - yay -S --noconfirm --needed hyprsunset + yay -S --noconfirm --needed hyprsunset + omarchy-refresh-hyprsunset fi -cp -r ~/.local/share/omarchy/config/hypr/hyprsunset.conf ~/.config/hypr/ -pkill hyprsunset -setsid uwsm app -- hyprsunset &>/dev/null & \ No newline at end of file +