ModernOSWeather/scripts/conky_install.sh

18 lines
346 B
Bash

#!/bin/bash
SCRIPT=$(readlink -f "$0")
DIR=$(dirname "$SCRIPT")
# Create dirrectory for systemd and conky scripts
mkdir -p $HOME/.config/conky
# Copy conky config
cd $DIR
cp -r ../configs/* ~/.config/conky
# Daemon launch
/usr/bin/systemctl --user daemon-reload
/usr/bin/systemctl --user enable conkyconf.service
echo "Done conky installer"