It's moving

This commit is contained in:
Hadi
2026-06-29 17:48:21 +02:00
parent 082de49ca4
commit cdffe66d72
62 changed files with 953 additions and 2147 deletions
+3 -3
View File
@@ -3,12 +3,12 @@
pkgs.writeShellScriptBin "nightshift-toggle"
# bash
''
if pidof "hyprsunset"; then
if pidof "hyprsunset" > /dev/null; then
pkill hyprsunset
${pkgs.libnotify}/bin/notify-send "Night Shift Disabled" "Returning to full spectrum light. Filter disabled."
swayosd-client --custom-message "Night Shift Off" --custom-icon "night-light-symbolic"
else
${pkgs.hyprsunset}/bin/hyprsunset -t 4500 &
${pkgs.libnotify}/bin/notify-send "Night Shift Activated" "Welcome to the warm side. Blue light filtering is now active."
swayosd-client --custom-message "Night Shift On" --custom-icon "night-light-symbolic"
fi
'';
in {