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

swaybar tray: scalable icons not found #1624

Closed
mckinney-subgraph opened this issue Mar 13, 2018 · 3 comments
Closed

swaybar tray: scalable icons not found #1624

mckinney-subgraph opened this issue Mar 13, 2018 · 3 comments

Comments

@mckinney-subgraph
Copy link

mckinney-subgraph commented Mar 13, 2018

Hi,

I am working on a status tool that sends icons (using SNI) to the swaybar tray. It basically works but I am having some troubles getting the tray to pick up some icons.

In the theme I am using (Paper), it does match some files for certain icons in directories like 24x24 but not for other directories. So what I have is some icons showing up on the swaybar but not others. In particular, icons in the scalable directories are missing.

Is there any known reason icons in this directory may not be picked up? This directory is usually where icon themes dump their symbolic icons in 'SVG' format (in various subdirs).

To test this further, I have modified swaybar/tray/icon.c to print the directories found by find_theme_subdirs(). The scalable directories do show up in the debug output. If I copy the .svg files manually to a directory such as 24x24, they are also displayed properly -- so it is not a problem with the icons. However, I don't want to do this (or make users do this), the stock theme should be usable outside of the box IMO.

index.theme.txt

I have attached index.theme for Paper if that helps any.

@ddevault
Copy link
Contributor

cc @4e554c4c

@4e554c4c
Copy link
Contributor

Thank you very much for debugging, I'll look into this.

@mckinney-subgraph
Copy link
Author

Closing -- sent a fix and it was merged :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants