This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Adpated from Dart's original script - http://www98.zippyshare.com/v/00wh802v/file.html | |
echo "...This script will install a fresh build or update existing installation of Latte-Dock..." | |
sleep 1 | |
echo "... Latte-Dock requires Plasma 5.8.0+ ..." | |
sleep 1 | |
echo "...You may need to add Kubuntu Backports PPA and dist-upgrade on Kubuntu 16.04 and 16.10 for latte dock to install..." | |
sleep 1 | |
echo "...Installing dependencies..." | |
sleep 1 | |
sudo apt install cmake \ | |
extra-cmake-modules \ | |
qtdeclarative5-dev \ | |
libqt5x11extras5-dev \ | |
libkf5iconthemes-dev \ | |
libkf5plasma-dev \ | |
libkf5windowsystem-dev \ | |
libkf5declarative-dev \ | |
libkf5xmlgui-dev \ | |
libkf5activities-dev \ | |
build-essential \ | |
libxcb-util-dev \ | |
libkf5wayland-dev \ | |
git \ | |
gettext \ | |
libkf5archive-dev \ | |
libkf5notifications-dev | |
echo "...Removing existing Latte-Dock directory..." | |
sudo rm -rf Latte-Dock/ | |
sleep 1 | |
echo "...Killing existing dock instance..." | |
killall -9 latte-dock | |
sleep 1 | |
echo "...Cloning git repo..." | |
git clone https://github.com/psifidotos/Latte-Dock.git | |
cd Latte-Dock | |
echo "...Installing now..." | |
sleep 1 | |
set -e | |
bash ./install.sh | |
echo "...Installation successful..." | |
sleep 1 | |
echo "...Cleaning up..." | |
cd .. | |
sudo rm -rf Latte-Dock/ | |
sleep 1 | |
echo "...Launching Latte-Dock..." | |
latte-dock &! | |
sleep 5 | |
echo "...Done..." | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment