add service for polkit-gnome
This commit is contained in:
parent
356c32e14a
commit
2cab445aad
2 changed files with 19 additions and 2 deletions
|
|
@ -8,7 +8,10 @@ hook = "cp %f ~/.config/qt6ct/colors/tinted.conf"
|
|||
path = "https://git.lucy.rip/lucy/tinted-gtk"
|
||||
name = "tinted-gtk"
|
||||
themes-dir = "build"
|
||||
hook = "cp %f ~/.config/gtk-3.0/gtk.css; cp %f ~/.config/gtk-4.0/gtk.css"
|
||||
hook = """
|
||||
cp %f ~/.config/gtk-3.0/gtk.css; cp %f ~/.config/gtk-4.0/gtk.css
|
||||
systemctl --user restart polkit-gnome.service
|
||||
"""
|
||||
|
||||
[[items]]
|
||||
path = "https://github.com/tinted-theming/tinted-terminal"
|
||||
|
|
|
|||
|
|
@ -31,11 +31,25 @@
|
|||
wantedBy = [ config.maid.systemdGraphicalTarget ];
|
||||
reloadIfChanged = true;
|
||||
serviceConfig = {
|
||||
Type = "notify";
|
||||
Type = "notify";
|
||||
ExecReload = "${pkgs.coreutils}/bin/kill -USR2 $MAINPID";
|
||||
BusName = "com.mitchellh.ghostty";
|
||||
ExecStart = "${pkgs.ghostty}/bin/ghostty --gtk-single-instance=true --initial-window=false";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services.polkit-gnome = {
|
||||
wantedBy = [ config.maid.systemdGraphicalTarget ];
|
||||
unitConfig = {
|
||||
Description = "polkit-gnome authentication agent";
|
||||
PartOf = [ config.maid.systemdGraphicalTarget ];
|
||||
After = [ config.maid.systemdGraphicalTarget ];
|
||||
};
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue