nowe podejście
This commit is contained in:
17
.config/systemd/user/swayr.service
Normal file
17
.config/systemd/user/swayr.service
Normal file
@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=A swayr window switcher
|
||||
Documentation=man:swayrd(1)
|
||||
PartOf=sway-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment="XDG_CURRENT_DESKTOP=Unity"
|
||||
ExecStart=/sbin/swayrd
|
||||
ExecReload=kill -SIGUSR2 $MAINPID
|
||||
ExecStop=/bin/kill -2 $MAINPID
|
||||
Restart=on-failure
|
||||
RestartSec=1
|
||||
TimeoutStopSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
Reference in New Issue
Block a user