Updated wallpaper
- Use external script - Set wallpaper on screenlayout changes
This commit is contained in:
parent
c5f81634eb
commit
a6d6198e0d
3 changed files with 16 additions and 1 deletions
|
@ -66,3 +66,6 @@ case $nextconfig in
|
|||
--output DP-1 --off
|
||||
;;
|
||||
esac
|
||||
|
||||
# Reset wallpaper
|
||||
~/Bin/wallpaper.sh
|
||||
|
|
11
Bin/wallpaper.sh
Executable file
11
Bin/wallpaper.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#! /bin/bash
|
||||
|
||||
# CONFIG
|
||||
DIRECTORY="/home/dbroqua/Nextcloud/images/Wallpaper/Rotation"
|
||||
|
||||
|
||||
|
||||
# SCRIPT START HERE
|
||||
SELECTED=`find ${DIRECTORY} -type f | shuf -n 1`
|
||||
|
||||
feh --bg-fill ${SELECTED}
|
Loading…
Add table
Add a link
Reference in a new issue