ModernOSWeather/scripts/conky_install.sh

18 lines
346 B
Bash
Raw Normal View History

2024-10-17 12:27:32 +03:00
#!/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"