wallpaper env path err
This commit is contained in:
parent
14215e6af3
commit
8a981162c4
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
source /etc/profile
|
||||||
|
export DISPLAY=:0
|
||||||
|
|
||||||
wallpath=$OPT_PATH/img/wallpaper
|
wallpath=$OPT_PATH/img/wallpaper
|
||||||
img=$(ls $wallpath | shuf -n 1)
|
img=$(ls $wallpath | shuf -n 1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue