deviantfero / wpgtk

:flower_playing_cards: a colorscheme, wallpaper and template manager for *nix
http://deviantfero.github.io/wpgtk/
GNU General Public License v2.0
2.02k stars 52 forks source link

--theme option does not work #295

Open M3CHR0M4NC3R opened 6 months ago

M3CHR0M4NC3R commented 6 months ago
[sam@thinkpad-pro ~]$ wpg --theme base16-dracula
[i] theme         Set theme to base16-dracula.json.
[i] export        Exported json.
[e] image         No valid image file found.

good evening. This command seems to have a mind of it's own when running. Sometimes it works, sometimes I get this output. I cannot seem to narrow down what the cause it for this.

deviantfero commented 5 months ago

do you have a wallpaper set with wpgtk? what's wpg -l and wpg -c outputs?

M3CHR0M4NC3R commented 5 months ago

yup, and here's my outputs

[sam@dragonmancer ~]$ wpg --theme base16-dracula
[i] theme         Set theme to base16-dracula.json.
[i] export        Exported json.
[e] image         No valid image file found.
[sam@dragonmancer ~]$ wpg -l
Gravity.jpg
IMG_3602.jpg
OSX_Big_Sur_Colorful_Day.jpg
OSX_Monterey_Dark.jpg
betta_fish.jpg
bliss.jpg
chernobyl_vessel.jpeg
ign-waifu.png
lofi_girl.png
pawel-czerwinski-8uZPynIu-rQ-unsplash.jpg
serial-experiments-lain-lain-iwakura-anime-girls-anime-wallpaper-d980286df14a5ddb6677e83fd081462d.jpg
the_stones.jpg
[sam@dragonmancer ~]$ wpg -c
OSX Big Sur Colorful Day.jpg
M3CHR0M4NC3R commented 5 months ago

The issue is caused by files with spaces in their name.

deviantfero commented 2 months ago

ok, I will check this out, in the mean time just avoid naming your files with spaces, but this is a bug and needs to be fixed.