refactor(hypr): run kde auth agent as polkit systemd user service

This commit is contained in:
Price Hiller 2023-08-19 12:11:38 -05:00
parent 61d4393ad7
commit c0e44fbe3d
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8
4 changed files with 16 additions and 1 deletions

View File

@ -22,3 +22,4 @@
!stylua.toml
!Trolltech.conf
!dconf
!systemd

View File

@ -9,7 +9,6 @@ exec-once = ~/.config/hypr/scripts/launchers/events-monitor.bash
exec-once = udiskie --tray
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = /usr/lib/polkit-kde-authentication-agent-1
exec-once = blueman-applet
exec-once = clight-gui --tray
exec-once = opensnitch-ui --background

1
dots/.config/systemd/user/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.wants

View File

@ -0,0 +1,14 @@
[Unit]
Description=KDE PolicyKit Authentication Agent
PartOf=graphical-session.target
[Service]
ExecStart=/usr/lib/polkit-kde-authentication-agent-1
ExecStop=kill -HUP $MAINPID
BusName=org.kde.polkit-kde-authentication-agent-1
Slice=background.slice
TimeoutSec=5sec
Restart=on-failure
[Install]
WantedBy=graphical-session.target