mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-14 04:19:23 +01:00
darkman: recognise local wallpapers
This commit is contained in:
parent
f64f5727d0
commit
38eeaaa4ce
@ -10,7 +10,9 @@ fi
|
|||||||
export DISTROID=$(lsb_release -si)
|
export DISTROID=$(lsb_release -si)
|
||||||
export DISTROREL=$(lsb_release -sr)
|
export DISTROREL=$(lsb_release -sr)
|
||||||
|
|
||||||
if [ "$DISTROID" == "Fedora" ]; then
|
if [ -f ~/.wallpaper.dark ]; then
|
||||||
|
export WALLPAPER_PATH="$HOME/.wallpaper.dark"
|
||||||
|
elif [ "$DISTROID" == "Fedora" ]; then
|
||||||
export WALLPAPER_PATH="/usr/share/wallpapers/F$DISTROREL/contents/images_dark/3840x2160.png"
|
export WALLPAPER_PATH="/usr/share/wallpapers/F$DISTROREL/contents/images_dark/3840x2160.png"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -10,7 +10,9 @@ fi
|
|||||||
export DISTROID=$(lsb_release -si)
|
export DISTROID=$(lsb_release -si)
|
||||||
export DISTROREL=$(lsb_release -sr)
|
export DISTROREL=$(lsb_release -sr)
|
||||||
|
|
||||||
if [ "$DISTROID" == "Fedora" ]; then
|
if [ -f ~/.wallpaper.light ]; then
|
||||||
|
export WALLPAPER_PATH="$HOME/.wallpaper.light"
|
||||||
|
elif [ "$DISTROID" == "Fedora" ]; then
|
||||||
export WALLPAPER_PATH="/usr/share/wallpapers/F$DISTROREL/contents/images/3840x2160.png"
|
export WALLPAPER_PATH="/usr/share/wallpapers/F$DISTROREL/contents/images/3840x2160.png"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user