1

I'm trying to use Variety in Hyprland, but I haven't found an article or a Question anywhere on the web.

Can anyone tell me how I can integrate it in my hyprland.conf?

floork
  • 45
  • 6

1 Answers1

1

As detailed here https://www.lorenzobettini.it/2023/05/hyprland-and-the-variety-wallpaper-manager/ you must first install swaybg and then you edit the file ~/.config/variety/scripts/set_wallpaper by changing the line

if [[ -n $SWAYSOCK ]]; then

into something like

if [[ -n $SWAYSOCK || $XDG_CURRENT_DESKTOP == "Hyprland" ]] ; then

or simply (if you don't plan to use "sway")

if [[ $XDG_CURRENT_DESKTOP == "Hyprland" ]] ; then

Now, Variety can change your wallpaper.

lorenzo-bettini
  • 2,106
  • 1
  • 16
  • 11