mirror of
https://github.com/nboughton/dotfiles
synced 2024-11-22 14:51:56 +01:00
removed home path hardcode from service files
This commit is contained in:
parent
9fae33b8a0
commit
30c44f676e
@ -10,7 +10,6 @@ If you want to use the custom/pacman module you'll need Go and Yay installed. Yo
|
||||
|
||||
* ````mkdir -p ~/tmp```` as this is where I output the json data that is polled by the waybar config
|
||||
* Symlink the updates.timer and updates.service files from waybar/modules/updates/ into ~/.config/systemd/user
|
||||
* Fix the paths in the .service file for your home directory
|
||||
* Run ````systemctl --user daemon-reload````
|
||||
* Run ````systemctl --user enable updates.timer````
|
||||
|
||||
|
@ -3,7 +3,7 @@ Description=Check for new upstream AUR versions of maintained NPM packages
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
WorkingDirectory=/home/nick/.config/waybar/modules/aur-vcheck
|
||||
WorkingDirectory=%h/.config/waybar/modules/aur-vcheck
|
||||
Environment=DISPLAY=:0.0
|
||||
Environment=XAUTHORITY=/home/nick/.Xauthority
|
||||
ExecStart=go run /home/nick/.config/waybar/modules/aur-vcheck/aur-vcheck.go /home/nick/.config/waybar/modules/aur-vcheck/config.json
|
||||
Environment=XAUTHORITY=%h/.Xauthority
|
||||
ExecStart=go run %h/.config/waybar/modules/aur-vcheck/aur-vcheck.go %h/.config/waybar/modules/aur-vcheck/config.json
|
@ -3,5 +3,5 @@ Description=Check for Pacman and AUR/git package updates
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
WorkingDirectory=/home/nick/.config/waybar/modules/updates
|
||||
ExecStart=go run /home/nick/.config/waybar/modules/updates/update-check.go
|
||||
WorkingDirectory=%h/.config/waybar/modules/updates
|
||||
ExecStart=go run %h/.config/waybar/modules/updates/update-check.go
|
Loading…
Reference in New Issue
Block a user