aboutsummaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh14
1 files changed, 10 insertions, 4 deletions
diff --git a/install.sh b/install.sh
index b2b1576..f5ffa5e 100755
--- a/install.sh
+++ b/install.sh
@@ -176,11 +176,17 @@ if command -v scp >/dev/null 2>&1; then
fi
# conky reads one config at startup and never rereads it, so the generated file
-# has to be in place before the restart below. Symlinked like everything else
-# the repo owns: the host-specific parts (mpd host, the ${goto} offsets in
-# conky.text) live in conky.conf.in, so only the colours differ per scheme.
+# has to be in place before the restart below.
+#
+# The Lua dashboard lives in its own repo; udt-palette renders its colours into
+# conky.conf there. Both the config and the Lua it loads are linked, since
+# lua_load points at ~/.config/conky/dashboard.lua.
+conky_repo="$HOME/Programming/GIT/conky-theme-udt"
mkdir -p "$HOME/.config/conky"
-ln -sfn "$repo/templates/conky.conf" "$HOME/.config/conky/conky.conf"
+ln -sfn "$conky_repo/conky.conf" "$HOME/.config/conky/conky.conf"
+ln -sfn "$conky_repo/dashboard.lua" "$HOME/.config/conky/dashboard.lua"
+ln -sfn "$conky_repo/lib" "$HOME/.config/conky/lib"
+ln -sfn "$conky_repo/widgets" "$HOME/.config/conky/widgets"
# Reload what is running. Writing the configs is not enough: waybar, kitty and
# Hyprland reread on a signal, conky only on a restart, and rofi