mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Run polkit agent with systemd
This commit is contained in:
parent
b17982a298
commit
cb6f7e60c4
|
@ -15,7 +15,6 @@ exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CUR
|
|||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = systemctl --user start xdg-desktop-portal-hyprland
|
||||
exec-once = systemctl --user start wm-ready.target
|
||||
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
|
||||
exec-once = setbg
|
||||
exec-once = sleep 2 && eww open bar0
|
||||
|
|
10
home/.config/systemd/user/policykit-agent.service
Normal file
10
home/.config/systemd/user/policykit-agent.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description="PolicyKit authentication agent"
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=wm-ready.target
|
|
@ -0,0 +1 @@
|
|||
/home/itsdrike/.config/systemd/user/policykit-agent.service
|
Loading…
Reference in a new issue