Skip to content

Instantly share code, notes, and snippets.

@aamnah
Created February 28, 2025 13:08
Show Gist options
  • Save aamnah/c2b46c8ff13fd7481fcd825fbb294a5c to your computer and use it in GitHub Desktop.
Save aamnah/c2b46c8ff13fd7481fcd825fbb294a5c to your computer and use it in GitHub Desktop.
Script to install Peaclock - https://github.com/octobanana/peaclock
#!/bin/sh
echo "\n Installing dependencies..."
sudo apt update
sudo apt install -y cmake libicu-dev libpthread-stubs0-dev
echo "\n Downloading source files..."
git clone https://github.com/octobanana/peaclock.git
cd peaclock
echo "\n Building..."
./RUNME.sh build
echo "\n Installing..."
./RUNME.sh install
echo "\n Copying default config (binary clock)..."
mkdir -pv ~/.peaclock
cp -uv ./cfg/default ~/.peaclock/config
echo "\n Cleaning up..."
cd ..
rm -rf peaclock
echo "\n DONE. You can now run the command: peaclock "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment