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

[Feature Request] How to set image height/width? #131

Closed
TheMY3 opened this issue May 31, 2022 · 10 comments
Closed

[Feature Request] How to set image height/width? #131

TheMY3 opened this issue May 31, 2022 · 10 comments
Labels
enhancement New feature or request

Comments

@TheMY3
Copy link

TheMY3 commented May 31, 2022

Try to set image height\width adding this params to .image and .body-image, but when I run swaync-client -rs I got CSS reload success: false, when I removed it - CSS reload success: true.

Is it possible to make images smaller?

@ErikReider ErikReider added the enhancement New feature or request label May 31, 2022
@ErikReider
Copy link
Owner

Not at the time of writing... The size is being set through Vala. GTK css only supports some standard css attributes. This would be a good addition to the config file.

Maybe try setting min-height/width in the mean time?

@ErikReider ErikReider changed the title [Question] How to set image height/width? [Feature Request] How to set image height/width? May 31, 2022
@ErikReider
Copy link
Owner

public static int icon_image_size = 64;

@TheMY3
Copy link
Author

TheMY3 commented May 31, 2022

Ok, I am waiting for this attribute in config :)

I try to do small notification block, already changed to smaller font, but icon too large, and notification block can't decrease because of it

@ErikReider
Copy link
Owner

735f2c5 adds the notification-icon-size property

@ErikReider
Copy link
Owner

ErikReider commented May 31, 2022

Should now work as expected. Thanks for the suggestion! :)

@TheMY3
Copy link
Author

TheMY3 commented May 31, 2022

Thank you, I use https://aur.archlinux.org/packages/swaync, I plan to go swaync-git for new updates :)

@TheMY3
Copy link
Author

TheMY3 commented Jun 2, 2022

@ErikReider when do you plan to create new release? :)

@ErikReider
Copy link
Owner

Probably when there's a few more features, a big new feature or a bug found

@ErikReider
Copy link
Owner

ErikReider commented Jun 25, 2022

@TheMY3 v0.6.2 is now released :)

@TheMY3
Copy link
Author

TheMY3 commented Jun 25, 2022

@ErikReider thank you, downloading :)

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