prasanthrangan / hyprdots

// Aesthetic, dynamic and minimal dots for Arch hyprland
GNU General Public License v3.0
5.63k stars 684 forks source link

Feature Request : Variety + swww + pywall #185

Closed KAGEYAM4 closed 4 months ago

KAGEYAM4 commented 10 months ago

I am new to ricing, basically just using your configs right now.

What do you think about later adding varity ( change wallpaper automatically from online sources ) + pywall ( get prominent color from wallpaper ) into this setup.

prasanthrangan commented 10 months ago

Hi, swww is already in use. I've not tried variety and pywall, but will have a look!

kRHYME7 commented 4 months ago

Hello, @KAGEYAM4 we have wallbash now for pywall and the swww. About Variety, I think that's possible.

change wallpaper automatically from online sources )

We can definitely make a dynamic changing of wallpapers, Ill try to write it in this repo.

However not all $user might want to connect to internet for there wallpapers. So I think the win-win implementation should be user have any option(e.g. variaty) to feed a directory where the wallpapers are hosted. Now if new wallpapers will be available the the dynamic changing of wallpaper will fetch images on that folder.
What do you think?

I really love this feature I have a while back I'm using windows but it slows my system.

KAGEYAM4 commented 4 months ago

However not all $user might want to connect to internet for there wallpapers. So I think the win-win implementation should be user have any option(e.g. variaty) to feed a directory where the wallpapers are hosted. Now if new wallpapers will be available the the dynamic changing of wallpaper will fetch images on that folder. What do you think?

Yuup, true.

How is bashwall implemented, can it not just change the color based on active wallpaper? I was thinking - no need to have another script, variety will donwload and apply wallpapers. Bashwall will change color.

kRHYME7 commented 4 months ago

the wallbash is written by @prasanthrangan to make all this related apps follow the wallpaper color palette. image we should make a .dcol file to make apps alike spotify,kitty,swaylock, rofi,waybar,hyprland, etc with this we can manually customize it.

~BTW I don't know how to change wallpaper using variety. I have read some of its backend scripts and it all points out to sway WM command line. Have you tried using variety to change wallpaper can you help me to do it?~

Oh I see, it's swaybg,

kRHYME7 commented 4 months ago

@KAGEYAM4 This feature looks cool! I am currently using it now. Would you like to test it ?

KAGEYAM4 commented 4 months ago

@kRHYME7 yes its swaybg, but the current set-wallpaper script has a bug, this fixes it https://github.com/varietywalls/variety/commit/0d2e7f0075e707f51ea2038a755b60373ae83093

This feature looks cool! I am currently using it now. Would you like to test it

Sorry, currently i am not doing any ricing. As you can see, the only thing i am running now is variety image

i looked at scripts/swwwallbash.sh which extracts the wallpaper dominant colors and it is called by swwwallpaper.sh - if i am right. More can be explained by [prasanthrangan].

Also variesy calls set-wallpaper.sh with three arguments, more details you can find in the scripts as it is documented. So you can just call swwwallpaper.sh from variety/set-wallpaper.sh but i am not sure about the arguments.

Edit - use this in variety/script/set-wallpaper.sh -> path/to/swwwallpaper.sh -s $1

KAGEYAM4 commented 4 months ago

also do you know any other projects beside pywal as it was last updated 6 years ago. https://github.com/dylanaraps/pywal/issues/670 https://github.com/eylles/pywal16

kRHYME7 commented 4 months ago

@KAGEYAM4 Thanks! this app is very intuitive so I got used to it. Here's a discussion of its functionality https://github.com/prasanthrangan/hyprdots/discussions/876 . I am looking forward to resolving this feature request so we can close it.

I was thinking - no need to have another script, variety will donwload and apply wallpapers. Bashwall will change color.

You're right, we only needed the launch script to have variety daemon running with custom hyprdots profile.

also do you know any other projects beside pywal as it was last updated 6 years ago. https://github.com/dylanaraps/pywal/issues/670 https://github.com/eylles/pywal16

I use @prasanthrangan 's Wallbash to override the colors then use Pywal if the terminal is not contrasting well with the wallpaper for a quick workaround. I think we can't see pywal integration on this repo for now https://github.com/prasanthrangan/hyprdots/discussions/872#discussioncomment-8455662. image

kRHYME7 commented 4 months ago

@KAGEYAM4 I'll be closing this for now as the variety is another set of suite and this is optional for the users. But the integration of variety is now possible and working. https://github.com/prasanthrangan/hyprdots/discussions/876

eylles commented 4 months ago

maybe not relevant anymore but just pushed the latest release of pywal16 and it is now available at pypi https://pypi.org/project/pywal16/