add polkit and attempt to autostart swaybg in niri
This commit is contained in:
16
system/services/swaybg.nix
Normal file
16
system/services/swaybg.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user