Completes and installs conky-manager.

This commit is contained in:
Cyteen May 2020-02-27 01:40:29 +00:00
parent dfc6ef9eca
commit f13f564954
1 changed files with 8 additions and 4 deletions

View File

@ -39,19 +39,21 @@ apt-get install -y p7zip-full rsync imagemagick
cd /var/tmp
# build deps
apt-get install -y autotools-dev valac libgtk-3-dev libgee-0.8-dev libjson-glib-dev
apt-get install -y autotools-dev devscripts debhelper valac libgtk-3-dev libgee-0.8-dev libjson-glib-dev
git clone https://github.com/zcot/conky-manager2
cd conky-manager2
# Adjust to accept current valac version
sed -i -e "s|\(valac-\)....|valac|" debian/control
sed -i -e "s|\( realpath\).||" debian/control
dch -R
dpkg-buildpackage -us -uc -b
dpkg -i ../conky-manager_*deb
apt-get -f install
# Remove build deps
apt-get remove -y autotools-dev valac libgtk-3-dev libgee-0.8-dev libjson-glib-dev
apt-get remove -y autotools-dev valac debhelper libgtk-3-dev libgee-0.8-dev libjson-glib-dev
apt-get autoremove
# Run conky + theme on x startup. Points at the symlink in dotconky changed by theme
mkdir -p ${DEST}/.xinitrc.d/
@ -61,7 +63,9 @@ EOF
# download example conky theme.
mkdir -p ${DEST}/.conky
git clone https://git.devuan.org/cyteen/conky-xanimos ${DEST}/.conky/conky-xanimos
if [ ! -d ${DEST}/.conky/conky-xanimos ]; then
git clone https://git.devuan.org/cyteen/conky-xanimos ${DEST}/.conky/conky-xanimos
fi
# Change conky symlink to point to our default theme.
ln -sr ${DEST}/.conky/conky-xanimos/conky_start.sh ${DEST}/.conky/conky-startup.sh
ln -sfr ${DEST}/.conky/conky-xanimos/conky_start.sh ${DEST}/.conky/conky-startup.sh