From 066b9256b2f1697db1f85cc529454dbb88bd5b57 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 19 Feb 2025 17:26:31 +1100 Subject: scheme: new way of tracking centralise the colours so all of them are kept here --- install/gtk.fish | 15 +++++++++++++++ install/vscode.fish | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) (limited to 'install') diff --git a/install/gtk.fish b/install/gtk.fish index 4f687d7..10e41e4 100755 --- a/install/gtk.fish +++ b/install/gtk.fish @@ -5,8 +5,23 @@ install-deps git adw-gtk-theme set -l gtk $CONFIG/gtk +set -l systemd $CONFIG/../systemd/user confirm-overwrite $gtk git clone 'https://github.com/caelestia-dots/gtk.git' $gtk +# 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 + log 'Done.' diff --git a/install/vscode.fish b/install/vscode.fish index 4703faf..e74163a 100755 --- a/install/vscode.fish +++ b/install/vscode.fish @@ -32,7 +32,7 @@ for prog in code code-insiders codium if which $prog &> /dev/null log "Installing extensions for '$prog'" $prog --install-extension catppuccin.catppuccin-vsc - $prog --install-extension $dist/caelestia-vscode-integration/caelestia-vscode-integration-0.0.1.vsix + $prog --install-extension $dist/caelestia-vscode-integration/caelestia-vscode-integration-*.vsix end end -- cgit v1.2.3-freya