From f5b78ff561eff75c803ed1ef6e736a6c991cd135 Mon Sep 17 00:00:00 2001 From: brustybee Date: Sun, 5 Apr 2026 23:32:45 +0530 Subject: idk - add miku cursor - nightlight support on xorg - bring back st and xorg tools back in this repo - add themed_cursor patch st ( kinda manully ) --- common/modules/mango/scripts.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'common/modules/mango/scripts.nix') diff --git a/common/modules/mango/scripts.nix b/common/modules/mango/scripts.nix index 4379313..d330211 100644 --- a/common/modules/mango/scripts.nix +++ b/common/modules/mango/scripts.nix @@ -216,9 +216,21 @@ let ;; "Night Light: "*) if [[ "$nl" == "on" ]]; then - set_val "nightlight" "off"; pkill wlsunset + set_val "nightlight" "off" + + if [[ "$XDG_SESSION_TYPE" == "wayland" ]]; then + pkill wlsunset + else + redshift -x + fi else - set_val "nightlight" "on"; wlsunset -T 4500 & + set_val "nightlight" "on" + + if [[ "$XDG_SESSION_TYPE" == "wayland" ]]; then + wlsunset -T 4500 & + else + redshift -O 4500 + fi fi ;; "Wallpaper") cmd_wall ;; -- cgit v1.3.1