add systemd config
This commit is contained in:
parent
18514b11a5
commit
1a2c9a6fdb
9 changed files with 21 additions and 1 deletions
8
.config/systemd/user/swayidle.service
Normal file
8
.config/systemd/user/swayidle.service
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[Unit]
|
||||
PartOf=graphical-session.target
|
||||
After=graphical-session.target
|
||||
Requisite=graphical-session.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/swayidle -w timeout 601 'niri msg action power-off-monitors' timeout 600 'swaylock -f' before-sleep 'swaylock -f'
|
||||
Restart=on-failure
|
||||
Loading…
Add table
Add a link
Reference in a new issue