Fix swayidle restart path

Added waybar autorestart service
This commit is contained in:
Aleksey Samoilov 2024-07-23 18:29:41 +04:00
parent 1ca8db8d25
commit 51df2746b6
4 changed files with 22 additions and 2 deletions

7
debian/changelog vendored
View file

@ -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
* Some fixes

View file

@ -1,10 +1,9 @@
[Unit]
Description=Automatically restart the swayidle when its configuration changes
PartOf=swayidle.service
After=swayidle.service
[Path]
PathChanged=%h/.config/swayidle/config
[Install]
WantedBy=river-session.target
WantedBy=paths.target

View 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

View file

@ -0,0 +1,3 @@
[Service]
ExecStart=systemctl --user restart waybar.service
Type=oneshot