~tsdh/public-inbox

swaybar: Add 128x128 icons to default config v1 PROPOSED

Roland Fredenhagen: 1
 Add 128x128 icons to default config

 1 files changed, 1 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~tsdh/public-inbox/patches/36635/mbox | git am -3
Learn more about email & git

[PATCH swaybar] Add 128x128 icons to default config Export this patch

---
On my system there were applications that only installed an icon for
128x128. E.g. wezterm: https://archlinux.org/packages/community/x86_64/wezterm/files/

 swayr/src/config.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/swayr/src/config.rs b/swayr/src/config.rs
index 816f972..4a759a0 100644
--- a/swayr/src/config.rs
+++ b/swayr/src/config.rs
@@ -297,6 +297,7 @@ impl Default for Format {
            urgency_end: Some("</span>".to_string()),
            icon_dirs: Some(vec![
                "/usr/share/icons/hicolor/scalable/apps".to_string(),
                "/usr/share/icons/hicolor/128x128/apps".to_string(),
                "/usr/share/icons/hicolor/64x64/apps".to_string(),
                "/usr/share/icons/hicolor/48x48/apps".to_string(),
                "/usr/share/icons/Adwaita/64x64/apps".to_string(),
-- 
2.38.1
Hi Roland,

I've applied and pushed your change.

Thanks a lot!
  Tassilo