mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-06-29 04:00:42 +00:00
Move to UWSM
This commit is contained in:
parent
510d01ef47
commit
3993fb896d
41 changed files with 79 additions and 101 deletions
|
@ -1,6 +1,6 @@
|
|||
[Unit]
|
||||
Description=Run hyprlock screenlocker on lock dbus event (using systemd-lock-handler)
|
||||
Requisite=wm-ready.target
|
||||
Requisite=graphical-session.target
|
||||
# if hyprlock exists cleanly, enter a 'unlock' target
|
||||
OnSuccess=unlock.target
|
||||
# When lock.target is stopped, stop this unit too
|
||||
|
@ -9,9 +9,10 @@ PartOf=lock.target
|
|||
[Service]
|
||||
ExecStart=/usr/bin/hyprlock
|
||||
StandardOutput=journal
|
||||
ExecStop=/bin/kill -s SIGUSR1 $MAINPID
|
||||
ExecStopPost=/bin/loginctl unlock-session
|
||||
Restart=on-failure
|
||||
Slice=background-graphical.slice
|
||||
|
||||
[Install]
|
||||
WantedBy=lock.target
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue