Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipc: Added listloaded and listactive requests #132

Merged
merged 1 commit into from
Feb 5, 2024
Merged

ipc: Added listloaded and listactive requests #132

merged 1 commit into from
Feb 5, 2024

Conversation

stephentoth
Copy link
Contributor

Added commands to be able to get the state of hyprpaper to make it easier to do dynamic loading and unloading of wallpapers.

Example usage:

$ hyprctl hyprpaper listactive
eDP-1 = /home/username/Pictures/wallpaper/A.png
HDMI-A-1 = /home/username/Pictures/wallpaper/B.png
$ hyprctl hyprpaper listloaded
/home/username/Pictures/wallpaper/A.png
/home/username/Pictures/wallpaper/B.png
/home/username/Pictures/wallpaper/C.png

My code is a little janky, so if you want me to change it or move it somewhere. I'd be happy to.

Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@vaxerski vaxerski merged commit 1013a80 into hyprwm:main Feb 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants