Добавлены юниты systemd для запуска polybar и clipse
This commit is contained in:
12
config/systemd/user/clipse.service
Normal file
12
config/systemd/user/clipse.service
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[Install]
|
||||||
|
WantedBy=graphical-session.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=clipse -listen
|
||||||
|
RemainAfterExit=true
|
||||||
|
Type=oneshot
|
||||||
|
|
||||||
|
[Unit]
|
||||||
|
After=graphical-session.target
|
||||||
|
Description=Clipse listener
|
||||||
|
PartOf=graphical-session.target
|
||||||
13
config/systemd/user/polybar.service
Normal file
13
config/systemd/user/polybar.service
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Polybar status bar
|
||||||
|
After=graphical-session.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/usr/bin/polybar top
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=3
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
|
|
||||||
Reference in New Issue
Block a user