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.04k stars 49 forks source link

Wayland wallpaper #265

Open niksingh710 opened 2 years ago

niksingh710 commented 2 years ago

Wpg does not set wallpaper on Wayland

kleshas commented 2 years ago

Try installing swaybg

deviantfero commented 1 year ago

did this work?

niksingh710 commented 1 year ago

did this work?

yep i have to manually set wallpaper using it actually i use wbg a minimal wayalnd wallpaper setting tool. then i use wpg -ns $wallpaper to generate colorscheme so it looks like

wbg $imgpath
wpg -ns $imgpath

will wallpaper setting feature will be added?

VGrol commented 1 year ago

The problem is that wayland doesn't do wallpapers the same, for instance, wallpapers that stretch across the screen only "work" by splitting them up in three parts and setting them individually. Some programs do this for you, like azote.

Probably out of scope for WPGTK to implement though. In the meantime, you could add it to your post-wpg.sh script.

kleshas commented 6 months ago

This is how I do it under sway: bindsym $mod+Shift+w exec wpg -m && feh --bg-tile "$(< "${HOME}/.cache/wal/wal")" && cp $(cat ~/.cache/wal/wal) ~/.cache/wal/wal.jpg