Wallpaper setting script actually works now
This commit is contained in:
parent
80d28f7004
commit
0dd701da37
@ -31,7 +31,7 @@ EOF
|
||||
case "$key" in
|
||||
"mode") mode="$value";;
|
||||
"file") file="$value";;
|
||||
"color") color="$color";;
|
||||
"color") color="$value";;
|
||||
*) echo "$name: bad key $key in $configFilePath" >&2;;
|
||||
esac
|
||||
done < "$configFilePath"
|
||||
@ -44,8 +44,8 @@ EOF
|
||||
;;
|
||||
esac
|
||||
|
||||
[ -n color ] && shouldHaveInstalled xsetroot && \
|
||||
[ -n "$color" ] && shouldHaveInstalled xsetroot && \
|
||||
xsetroot -solid "$color"
|
||||
[ -n mode ] && shouldHaveInstalled xwallpaper && \
|
||||
[ -n "$mode" ] && shouldHaveInstalled xwallpaper && \
|
||||
xwallpaper "--${mode}" "$file"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user