Add script to manage background of slim
This commit is contained in:
parent
030e06daa2
commit
50f281c01e
8
bin/update-slim-background.sh
Executable file
8
bin/update-slim-background.sh
Executable 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user