dotfiles/sbin/update-slim-background

9 lines
215 B
Plaintext
Raw Permalink Normal View History

#!/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