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_pathwas used verbatim which doesn't resolve e.g.~or$HOME. Asstring_to_pathalready exists, we can use it for the resolution here as well.This fixes #1371.