fix: set theme on login
This commit is contained in:
parent
035ad533a6
commit
e39b64bccd
1 changed files with 12 additions and 0 deletions
|
|
@ -52,6 +52,18 @@
|
|||
Install.WantedBy = [ "timers.target" ];
|
||||
};
|
||||
|
||||
systemd.user.services.theme-apply = {
|
||||
Unit = {
|
||||
Description = "Apply theme on login";
|
||||
After = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${pkgs.bash}/bin/bash -lc '${config.home.homeDirectory}/.config/nix/scripts/theme ${config.theme}'";
|
||||
};
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
systemd.user.services.cliphist-wipe = {
|
||||
Unit.Description = "Clear clipboard history on session end";
|
||||
Service = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue