Fix swayidle restart path
Added waybar autorestart service
This commit is contained in:
parent
1ca8db8d25
commit
51df2746b6
4 changed files with 22 additions and 2 deletions
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -1,3 +1,10 @@
|
||||||
|
tileos-settings-river (1.1.3~tileos) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Fix swayidle restart path
|
||||||
|
* Added waybar restart path
|
||||||
|
|
||||||
|
-- Aleksey Samoilov <samoilov.lex@gmail.com> Tue, 23 Jul 2024 18:29:06 +0400
|
||||||
|
|
||||||
tileos-settings-river (1.1.2~tileos) unstable; urgency=medium
|
tileos-settings-river (1.1.2~tileos) unstable; urgency=medium
|
||||||
|
|
||||||
* Some fixes
|
* Some fixes
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Automatically restart the swayidle when its configuration changes
|
Description=Automatically restart the swayidle when its configuration changes
|
||||||
PartOf=swayidle.service
|
PartOf=swayidle.service
|
||||||
After=swayidle.service
|
|
||||||
|
|
||||||
[Path]
|
[Path]
|
||||||
PathChanged=%h/.config/swayidle/config
|
PathChanged=%h/.config/swayidle/config
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=river-session.target
|
WantedBy=paths.target
|
||||||
|
|
11
usr/lib/systemd/user/waybar-restart.path
Normal file
11
usr/lib/systemd/user/waybar-restart.path
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Automatically restart the waybar when its configuration changes
|
||||||
|
PartOf=waybar.service
|
||||||
|
|
||||||
|
[Path]
|
||||||
|
PathChanged=%h/.config/waybar
|
||||||
|
PathChanged=%h/.config/waybar/colors
|
||||||
|
PathChanged=%h/waybar/config
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=paths.target
|
3
usr/lib/systemd/user/waybar-restart.service
Normal file
3
usr/lib/systemd/user/waybar-restart.service
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[Service]
|
||||||
|
ExecStart=systemctl --user restart waybar.service
|
||||||
|
Type=oneshot
|
Loading…
Add table
Reference in a new issue