fix(hypr): launch polkit from hyprland, not systemd
This commit is contained in:
parent
9f55aa0f1b
commit
dec297b92b
@ -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
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user