refactor(hypr): run kde auth agent as polkit systemd user service
This commit is contained in:
parent
61d4393ad7
commit
c0e44fbe3d
1
dots/.config/.gitignore
vendored
1
dots/.config/.gitignore
vendored
@ -22,3 +22,4 @@
|
|||||||
!stylua.toml
|
!stylua.toml
|
||||||
!Trolltech.conf
|
!Trolltech.conf
|
||||||
!dconf
|
!dconf
|
||||||
|
!systemd
|
||||||
|
@ -9,7 +9,6 @@ exec-once = ~/.config/hypr/scripts/launchers/events-monitor.bash
|
|||||||
exec-once = udiskie --tray
|
exec-once = udiskie --tray
|
||||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
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 = 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 = blueman-applet
|
||||||
exec-once = clight-gui --tray
|
exec-once = clight-gui --tray
|
||||||
exec-once = opensnitch-ui --background
|
exec-once = opensnitch-ui --background
|
||||||
|
1
dots/.config/systemd/user/.gitignore
vendored
Normal file
1
dots/.config/systemd/user/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.wants
|
14
dots/.config/systemd/user/polkit.service
Normal file
14
dots/.config/systemd/user/polkit.service
Normal 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
|
Loading…
Reference in New Issue
Block a user