wallpaper: Fix #1379

This commit is contained in:
Dylan Araps 2019-12-23 23:24:44 +00:00
parent a89c736496
commit d8a3ae5fed
No known key found for this signature in database
GPG key ID: 46D62DD9F1DE636E

View file

@ -727,15 +727,15 @@ image_source="auto"
# Default: 'auto'
# Values: 'auto', 'distro_name'
# Flag: --ascii_distro
# NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, AOSC,
# Apricity, ArcoLinux, ArchBox, ARCHlabs, ArchStrike,
# NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, AOSC,
# Apricity, ArcoLinux, ArchBox, ARCHlabs, ArchStrike,
# XFerience, ArchMerge, Arch, Artix, Arya, Bedrock, Bitrig,
# BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD,
# BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS,
# Chapeau, Chrom, Cleanjaro, ClearOS, Clear_Linux, Clover,
# Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin,
# DesaOS, Devuan, DracOS, DragonFly, Drauger, Elementary,
# Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD,
# Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD,
# FreeMiNT, Frugalware, Funtoo, GalliumOS, Gentoo, Pentoo,
# gNewSense, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra,
# Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion,
@ -745,14 +745,14 @@ image_source="auto"
# Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner,
# NuTyX, OBRevenge, OpenBSD, OpenIndiana, OpenMandriva,
# OpenWrt, osmc, Oracle, PacBSD, Parabola, Pardus, Parrot,
# Parsix, TrueOS, PCLinuxOS, Peppermint, popos, Porteus,
# Parsix, TrueOS, PCLinuxOS, Peppermint, popos, Porteus,
# PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix, Raspbian,
# Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, Regata,
# Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, Septor,
# SharkLinux, Siduction, Slackware, SliTaz, SmartOS, Solus,
# Source_Mage, Sparky, Star, SteamOS, SunOS, openSUSE_Tumbleweed,
# Source_Mage, Sparky, Star, SteamOS, SunOS, openSUSE_Tumbleweed,
# openSUSE, SwagArch, Tails, Trisquel, Ubuntu-Budgie, Ubuntu-GNOME,
# Ubuntu-MATE, Ubuntu-Studio, Ubuntu, Void, Obarun, windows10,
# Ubuntu-MATE, Ubuntu-Studio, Ubuntu, Void, Obarun, windows10,
# Windows7, Xubuntu, Zorin, and IRIX have ascii logos
# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants.
# Use '{distro name}_old' to use the old logos.
@ -3779,8 +3779,9 @@ END
;;
"Plasma"*)
image="${XDG_CONFIG_HOME}/plasmarc"
image="$(awk -F '=' '$1 == "usersWallpapers" { print $2 }' "$image")"
image=$XDG_CONFIG_HOME/plasma-org.kde.plasma.desktop-appletsrc
image=$(awk -F '=' '$1 == "Image" { print $2 }' "$image")
image=${image##file://}
;;
*)
@ -4689,16 +4690,16 @@ IMAGE BACKEND:
ASCII:
--ascii_colors x x x x x x Colors to print the ascii art
--ascii_distro distro Which Distro's ascii art to print
NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, AOSC,
Apricity, ArcoLinux, ArchBox, ARCHlabs, ArchStrike,
NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, AOSC,
Apricity, ArcoLinux, ArchBox, ARCHlabs, ArchStrike,
XFerience, ArchMerge, Arch, Artix, Arya, Bedrock, Bitrig,
BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD,
BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS,
Chapeau, Chrom, Cleanjaro, ClearOS, Clear_Linux, Clover,
Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin,
DesaOS, Devuan, DracOS, DragonFly, Drauger, Elementary,
Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD,
Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD,
FreeMiNT, Frugalware, Funtoo, GalliumOS, Gentoo, Pentoo,
gNewSense, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra,
Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion,
@ -4708,16 +4709,16 @@ ASCII:
Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner,
NuTyX, OBRevenge, OpenBSD, OpenIndiana, OpenMandriva,
OpenWrt, osmc, Oracle, PacBSD, Parabola, Pardus, Parrot,
Parsix, TrueOS, PCLinuxOS, Peppermint, popos, Porteus,
Parsix, TrueOS, PCLinuxOS, Peppermint, popos, Porteus,
PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix, Raspbian,
Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, Regata,
Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, Septor,
SharkLinux, Siduction, Slackware, SliTaz, SmartOS, Solus,
Source_Mage, Sparky, Star, SteamOS, SunOS, openSUSE_Tumbleweed,
Source_Mage, Sparky, Star, SteamOS, SunOS, openSUSE_Tumbleweed,
openSUSE, SwagArch, Tails, Trisquel, Ubuntu-Budgie, Ubuntu-GNOME,
Ubuntu-MATE, Ubuntu-Studio, Ubuntu, Void, Obarun, windows10,
Ubuntu-MATE, Ubuntu-Studio, Ubuntu, Void, Obarun, windows10,
Windows7, Xubuntu, Zorin, and IRIX have ascii logos
NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants.
NOTE: Use '{distro name}_old' to use the old logos.
@ -5847,23 +5848,23 @@ EOF
"Carbs"*)
set_colors 4 5 4 4 4 4
read -rd '' ascii_data <<'EOF'
${c2} ..........
..,;:ccccccc:;'..
..,clllc:;;;;;:cllc,.
.,cllc,... ..';;'.
.;lol;.. ..
.,lol;.
.coo:.
.'lol,.
.,lol,.
.,lol,.
'col;.
.:ooc'.
.'col:.
.'cllc'.. .''.
..:lolc,'.......',cll,.
..;cllllccccclllc;'.
...',;;;;;;,,...
${c2} ..........
..,;:ccccccc:;'..
..,clllc:;;;;;:cllc,.
.,cllc,... ..';;'.
.;lol;.. ..
.,lol;.
.coo:.
.'lol,.
.,lol,.
.,lol,.
'col;.
.:ooc'.
.'col:.
.'cllc'.. .''.
..:lolc,'.......',cll,.
..;cllllccccclllc;'.
...',;;;;;;,,...
.....
EOF
;;