From b65bdee6c95ae9a17f932775b41662aa5e65e9b6 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sat, 13 Sep 2025 21:02:49 -0500 Subject: use xdg autostart for unclutter and redshift instead of xprofile/xinitrc --- archetypes/profiles/desktop/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/archetypes/profiles/desktop/default.nix b/archetypes/profiles/desktop/default.nix index 188d205..8156953 100644 --- a/archetypes/profiles/desktop/default.nix +++ b/archetypes/profiles/desktop/default.nix @@ -89,6 +89,16 @@ desktop = mkDesktop true; }; + xdg = { + autostart = { + enable = mkDesktop true; + entries = mkDesktop [ + "${pkgs.redshift}/share/applications/redshift-gtk.desktop" + "${pkgs.unclutter-desktop-entry}/share/applications/unclutter.desktop" + ]; + }; + }; + xdg.mimeApps._defaultCategoryApplications = { enable = true; categoryApplications = { -- cgit v1.2.3