Skip to content

Commit 5131131

Browse files
committed
fix(niri): start nightlight on boot
The wlsunset-waybar script was removed in 41880bc but the niri spawn-at-startup reference was not updated, so wlsunset never started on boot.
1 parent 38871c2 commit 5131131

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

parts/features/desktop/niri/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@
455455
{command = ["ytmdesktop" "--password-store=gnome-libsecret"];}
456456
# {command = ["seahorse"];} # To unlock keyring
457457
{command = ["${wallpaperSetter}/bin/niri-set-wallpaper"];} # Set wallpaper
458-
{command = ["wlsunset-waybar"];}
458+
{command = ["nightlight-toggle"];}
459459
{command = ["${openOnWorkspace}/bin/niri-open-on-workspace" "${workspaces."00".name}" "ChatGPT" "zen-beta" "--new-window" "https://chatgpt.com/"];}
460460
{command = ["${openOnWorkspace}/bin/niri-open-on-workspace" "${workspaces."09".name}" "[Vv]ikunja" "zen-beta" "--new-window" "https://vikunja.hyena-byzantine.ts.net/"];}
461461
];

parts/features/desktop/waybar/default.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,10 @@
512512
};
513513
};
514514
in {
515+
home.packages = [
516+
nightlight-toggle
517+
];
518+
515519
programs.waybar = {
516520
enable = true;
517521
settings = {

0 commit comments

Comments
 (0)