Add script to manage background of slim

This commit is contained in:
Jan Philipp Timme 2017-04-04 12:50:23 +02:00
parent 030e06daa2
commit 50f281c01e

8
bin/update-slim-background.sh Executable file
View File

@ -0,0 +1,8 @@
#!/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