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