add polkit and attempt to autostart swaybg in niri

This commit is contained in:
2025-12-02 08:48:55 -07:00
parent 1beb97c222
commit 65242cd03a
11 changed files with 96 additions and 52 deletions

View File

@@ -0,0 +1,16 @@
{config, pkgs, ...}:
{
systemd.user.services.swaybg-autoset = {
enable = true;
description = "start swaybg on login";
after = ["waybar.service"];
requires = ["network-online.target"];
before = ["multi-user.target"];
wantedBy = ["multi-user.target"];
serviceConfig = {
ExecStart = "swaybg -i ~/Downloads/wp.jpg";
User = "autumn";
Group = "users";
};
};
}