fix(hypr): launch polkit from hyprland, not systemd

This commit is contained in:
Price Hiller 2023-11-23 16:22:50 -06:00
parent 9f55aa0f1b
commit dec297b92b
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8
2 changed files with 1 additions and 16 deletions

View File

@ -18,3 +18,4 @@ exec-once = xwaylandvideobridge
exec = ~/.config/hypr/scripts/launchers/launch-desktop-portal.bash
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME GTK_THEME
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME GTK_THEME
exec-once = /usr/lib/polkit-kde-authentication-agent-1

View File

@ -1,16 +0,0 @@
[Unit]
Description=KDE PolicyKit Authentication Agent
PartOf=compositor.target
After=compositor.target
[Service]
ExecStart=/usr/lib/polkit-kde-authentication-agent-1
ExecStop=kill -HUP $MAINPID
ExecCondition=/bin/sh -c "[ -n $WAYLAND_DISPLAY ]"
Slice=background.slice
BusName=org.kde.polkit-kde-authentication-agent-1
TimeoutSec=5sec
Restart=on-failure
[Install]
WantedBy=compositor.target