Add nwg-drawer service
This commit is contained in:
parent
f64acdea2b
commit
ac30fbf3d6
2 changed files with 13 additions and 2 deletions
11
usr/lib/systemd/user/nwg-drawer.service
Normal file
11
usr/lib/systemd/user/nwg-drawer.service
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Requires=sway-session.target
|
||||
ConditionPathExists=/usr/bin/nwg-drawer
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/nwg-drawer -r
|
||||
Restart=on-failure
|
||||
RestartSec=1
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
|
@ -1,5 +1,5 @@
|
|||
[Unit]
|
||||
Requires=graphical-session.target
|
||||
Requires=sway-session.target
|
||||
ConditionPathExists=/usr/share/sway/scripts/switch-top-level.py
|
||||
|
||||
[Service]
|
||||
|
@ -8,4 +8,4 @@ Restart=on-failure
|
|||
RestartSec=1
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
||||
WantedBy=sway-session.target
|
||||
|
|
Loading…
Add table
Reference in a new issue