nowe podejście
This commit is contained in:
1
.config/systemd/user/default.target.wants/yubikey-agent.service
Symbolic link
1
.config/systemd/user/default.target.wants/yubikey-agent.service
Symbolic link
@ -0,0 +1 @@
|
||||
/usr/lib/systemd/user/yubikey-agent.service
|
17
.config/systemd/user/mysway.service
Normal file
17
.config/systemd/user/mysway.service
Normal file
@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=mySway.py script
|
||||
Documentation=mySway
|
||||
PartOf=sway-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment="XDG_CURRENT_DESKTOP=Unity"
|
||||
ExecStart=/home/paramah/.config/sway/bin/mysway.py
|
||||
ExecReload=kill -SIGUSR2 $MAINPID
|
||||
ExecStop=/bin/kill -2 $MAINPID
|
||||
Restart=on-failure
|
||||
RestartSec=1
|
||||
TimeoutStopSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
1
.config/systemd/user/sway-session.target.wants/mysway.service
Symbolic link
1
.config/systemd/user/sway-session.target.wants/mysway.service
Symbolic link
@ -0,0 +1 @@
|
||||
/home/paramah/.config/systemd/user/mysway.service
|
1
.config/systemd/user/sway-session.target.wants/swayr.service
Symbolic link
1
.config/systemd/user/sway-session.target.wants/swayr.service
Symbolic link
@ -0,0 +1 @@
|
||||
/home/paramah/.config/systemd/user/swayr.service
|
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