danyspin97 / wpaperd

Modern wallpaper daemon for Wayland
GNU General Public License v3.0
332 stars 26 forks source link

(Feature Request) Add the status command #99

Closed jerezoff closed 2 weeks ago

jerezoff commented 3 weeks ago

Hi! I love using wpaperd. I'm currently on Hyprland, and I wish to add wallpaper status to Waybar.

What do I want?

I'd like to write a script that wraps command output into an interactive button inside Waybar.

What do I suggest?

Adding a command (e.g. wpaperctl status) that returns the current state of the daemon (playing/paused/stopped).

P.S. I don’t know if there's another way to achieve this.

danyspin97 commented 2 weeks ago

This seems like a good idea, there is no way to know that currently. In addition, status will also print the remaining time of the timer.

I am currently working on it, I need to rework the timer a bit because it wasn't giving me the correct time.

danyspin97 commented 2 weeks ago

It's done, I just need to print the time properly in a user-friendly way.