From 50f281c01e7f33b56538bd97117109e285ec2809 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Tue, 4 Apr 2017 12:50:23 +0200 Subject: [PATCH] Add script to manage background of slim --- bin/update-slim-background.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 bin/update-slim-background.sh diff --git a/bin/update-slim-background.sh b/bin/update-slim-background.sh new file mode 100755 index 0000000..8bec81e --- /dev/null +++ b/bin/update-slim-background.sh @@ -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 +