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