diff options
Diffstat (limited to 'install/fuzzel.fish')
| -rwxr-xr-x | install/fuzzel.fish | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/install/fuzzel.fish b/install/fuzzel.fish index eb3bf3b..3f22fee 100755 --- a/install/fuzzel.fish +++ b/install/fuzzel.fish @@ -4,25 +4,12 @@ install-deps git fuzzel-git -set -l systemd $CONFIG/../systemd/user -set -l fuzzel $CONFIG/../fuzzel +set -l dist $CONFIG/fuzzel # Clone repo -confirm-overwrite $fuzzel -git clone 'https://github.com/caelestia-dots/fuzzel.git' $fuzzel +update-repo fuzzel $dist # Install systemd service -if test -d $systemd - log 'Installing systemd service...' - - echo "[Service] -Type=oneshot -ExecStart=$fuzzel/monitor/update.fish" > $systemd/fuzzel-monitor-scheme.service - cp $fuzzel/monitor/fuzzel-monitor-scheme.path $systemd/fuzzel-monitor-scheme.path - - systemctl --user daemon-reload - systemctl --user enable --now fuzzel-monitor-scheme.path - systemctl --user start fuzzel-monitor-scheme.service -end +setup-systemd-monitor fuzzel $dist log 'Done.' |