-
Notifications
You must be signed in to change notification settings - Fork 343
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
Resolve ~ and $HOME in icon_path #1383
Resolve ~ and $HOME in icon_path #1383
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #1383 +/- ##
=======================================
Coverage 65.37% 65.37%
=======================================
Files 50 50
Lines 8321 8321
Branches 999 999
=======================================
Hits 5440 5440
Misses 2881 2881
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
ok for me. it works with multiple paths right? what about using TYPE_PATH for icon_path tough? |
Yes, every path (separated by
I don't think this would work, as |
well, I guess this is all right |
@zappolowski works as expected! On a side note, for some reason, this branch dunst (and master I assume) uses |
See #1342. Now global.height is a range. if you specify a single number the max = min and the size is fixed. Otherwise you can specify (min, max). Just like the width value |
`icon_path` was used verbatim which doesn't resolve e.g. `~` or `$HOME`. As `string_to_path` already exists, we can use it for the resolution here as well.
c3a9a72
to
97510de
Compare
icon_path
was used verbatim which doesn't resolve e.g.~
or$HOME
. Asstring_to_path
already exists, we can use it for the resolution here as well.This fixes #1371.