mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +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 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"
|
||||
fi
|
||||
|
||||
|
@ -10,7 +10,9 @@ fi
|
||||
export DISTROID=$(lsb_release -si)
|
||||
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"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user