lingnand / VIMonad

Bringing VIM philosophy to window management
vimonad.lynnard.me
70 stars 3 forks source link

Wallpaper Prompt not loading #4

Closed torrancew closed 9 years ago

torrancew commented 9 years ago

I can't seem to load the wallpaper prompt with the M-z keystroke listed in the docs. I have confirmed that feh, wallhaven and rss-image-download are all available, am I missing some other application, possibly?

lingnand commented 9 years ago

You need to confirm these directories exist:

mkdir -p $HOME/Pictures/wallpapers/{'#favorites','#rss','#standard'}

The #favorites stores images you 'liked' inside the Wallpaper prompt, #rss stores directories of images obtained from rss-image-download, #standard stores images obtained from wallhaven via default settings (this is also the default channel).

Some quick guides:

Sorry this should really be in the doc from the start. Remember to pop back to confirm if it works or not on your system.

torrancew commented 9 years ago

@lynnard Thanks! Adding the subdirectories allowed the prompt to appear, and I grasp the concept of what's going on, however, there definitely appears to a quirk or two. Currently, preview/setting wallpaper isn't functioning from the wallpaper prompt. "next" seems to have no effect at all, though I can issue setch commands. Downloading is a bit quirky as well, but some of that may be my unfamiliarity with wallhaven.

Are there any requirements or expectations about what wallpaper files are named inside of channel directories? I would like to use some existing wallpaper directories with this tool, if possible.

torrancew commented 9 years ago

I also wanted to confirm what the requirements were for the transparent functionality. I have 2 machines I'm testing vimonad on, and one is a clean arch install, so it currently has no compositing tool installed.

lingnand commented 9 years ago

Have you put down wallpaper-change somewhere? Make sure that wallpaper-change <directory> works before trying the Wallpaper Prompt.

If you take a look at wallpaper-change you'll realise there really isn't any magic there - any image ending with .png or .jpg works fine. If you need to support more image formats just add the extensions into the script.

For the transparency to work you need to install compton.

lingnand commented 9 years ago

Oh, forgot to mention: wallpaper-change requires imagemagick to work, so that might be what's missing on your machine. The quirks you mentioned should go away when all the required programs are found as well.

torrancew commented 9 years ago

Ok, thanks for the heads up! I have wallpaper-change functioning well, but am still having some problems with the prompt.

lingnand commented 9 years ago
  1. are you able to call wallpaper-change from a normal shell (it's inside $PATH)?
  2. do windows fade when Wallpaper Prompt is active?
torrancew commented 9 years ago

1) yes 2) no, though I only just now installed compton

torrancew commented 9 years ago

I take that back! My $PATH for bash is correct, but X is more restricted! Will update after correcting that.

lingnand commented 9 years ago

Try putting compton -cGb inside your .xinit, restarting your computer and see what happens.

torrancew commented 9 years ago

With compton running and the X $PATH corrected, things are working now. Thanks!