dotfiles/bin/update-slim-background.sh

9 lines
215 B
Bash
Executable File

#!/bin/bash
BACKGROUND=/usr/share/slim/themes/default/background.jpg
sudo rm $BACKGROUND
sudo cp `readlink -f /home/jpt/Backgrounds/current` $BACKGROUND
sudo chown root:root $BACKGROUND
sudo chmod 644 $BACKGROUND