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

Dynamic or user configurable column count for displaying images in main window. #43

Closed
SherLock707 opened this issue May 11, 2024 · 10 comments
Labels
enhancement New feature or request

Comments

@SherLock707
Copy link

Instead of fixed 3 column of images can we get number of column based on app window size (_can be based on launched window size or dynamic update upon resiz_e) or based on a user config value?

image

Awesome app! Thank you for your hardwork.

@anufrievroman
Copy link
Owner

Hi, I tried to achieve the scaling automatically for a while, but that just never worked for me. Maybe someone more knowledgeable about GTK could advise. However, I like the idea of putting the number of columns in the config, I'll try this approach.

@anufrievroman anufrievroman added the enhancement New feature or request label May 12, 2024
anufrievroman added a commit that referenced this issue May 12, 2024
@anufrievroman
Copy link
Owner

So, I managed to implement it, now the config parameter number_of_columns = 3 should be able to control it. You can test in by installing from the main. It will be available in the next version.
20240512_13h40m03s_grim

@SherLock707
Copy link
Author

So, I managed to implement it, now the config parameter number_of_columns = 3 should be able to control it. You can test in by installing from the main. It will be available in the next version.
20240512_13h40m03s_grim

Oh wow! That was quick! Thanks. Can't wait to try it out.

@SherLock707
Copy link
Author

How do I build and run it?
I tried:
python3 setup.py build
python3 setup.py install

image

@SherLock707
Copy link
Author

Off-topic: When I set a wallpaper, is there any way I can get name/path of that image file?
Need to send that path to pywall or any script to do some stuff

@SherLock707
Copy link
Author

Off-topic: When I set a wallpaper, is there any way I can get name/path of that image file? Need to send that path to pywall or any script to do some stuff

Figured out. thanks.

config : post_command = notify-send $wallpaper

@anufrievroman
Copy link
Owner

anufrievroman commented May 13, 2024

How do I build and run it? I tried: python3 setup.py build python3 setup.py install

Two simple ways are:

yay -S waypaper-git (if you are on Arch)

pipx install git+https://github.com/anufrievroman/waypaper

@SherLock707
Copy link
Author

How do I build and run it? I tried: python3 setup.py build python3 setup.py install

Two simple ways are:

yay -S waypaper-git (if you are on Arch)

pipx install git+https://github.com/anufrievroman/waypaper

Thanks, and how do I build it from repo?

@anufrievroman
Copy link
Owner

As far as I understand, you don't really build it, setup script just puts python files into corresponding folders. For example, if you cloned it, you can run it from the repo folder directly as python -m waypaper.

p.s. there might be errors due to missing package meta data, so to use this method you'd need to have some version of waypaper installed globally in your system.

@SherLock707
Copy link
Author

As far as I understand, you don't really build it, setup script just puts python files into corresponding folders. For example, if you cloned it, you can run it from the repo folder directly as python -m waypaper.

p.s. there might be errors due to missing package meta data, so to use this method you'd need to have some version of waypaper installed globally in your system.

Oh cool, understood. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants