Merge pull request #153 from CousinMachu/master
Fixed wallpaper error with nitrogen
This commit is contained in:
commit
775a6ca012
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1796,7 +1796,7 @@ getwallpaper () {
|
||||||
img="$(awk -F\' '/feh/ {printf $2}' "$HOME/.fehbg")"
|
img="$(awk -F\' '/feh/ {printf $2}' "$HOME/.fehbg")"
|
||||||
|
|
||||||
elif type -p nitrogen >/dev/null 2>&1; then
|
elif type -p nitrogen >/dev/null 2>&1; then
|
||||||
img="$(awk -F'=' '/file/ {printf $2}' "$HOME/.config/nitrogen/bg-saved.cfg")"
|
img="$(awk -F'=' '/file/ {printf $2;exit;}' "$HOME/.config/nitrogen/bg-saved.cfg")"
|
||||||
|
|
||||||
elif type -p gsettings >/dev/null 2>&1; then
|
elif type -p gsettings >/dev/null 2>&1; then
|
||||||
case "$XDG_CURRENT_DESKTOP" in
|
case "$XDG_CURRENT_DESKTOP" in
|
||||||
|
|
Loading…
Reference in a new issue