Comment by ~modprog on ~tsdh/swayr
Concerning
telegram-desktop-bin
it has the app_id:org.telegram.desktop
, places its icon at:/usr/share/icons/hicolor/128x128/apps/telegram.png
and its.desktop
file at:/usr/share/applications/telegramdesktop.desktop
:[Desktop Entry] Encoding=UTF-8 Version=1.0 Name=Telegram Desktop Comment=Official desktop version of Telegram messaging app Exec=telegram-desktop -- %u StartupWMClass=telegram-desktop Icon=telegram Terminal=false Type=Application Categories=Network; MimeType=application/x-xdg-protocol-tg;x-scheme-handler/tg; X-Desktop-File-Install-Version=0.22
Comment by ~modprog on ~tsdh/swayr
The
.desktop
file fromdolphin
specifiesIcon=system-file-manager
. And that seams to break swayr's logic.My guess is, it is because the icon files are called
-symbolic.symbolic.png
.
Comment by ~modprog on ~tsdh/swayr
One thing I noticed is, that some applications like
dolphin
orpavucontrol
use e.g.system-file-manager
. In the defaultAdwaita
is used as an icon theme AFAICT, the matching adwaita icons would be:./Adwaita/48x48/legacy/system-file-manager-symbolic.symbolic.png ./Adwaita/scalable/legacy/system-file-manager-symbolic.svg ./Adwaita/24x24/legacy/system-file-manager-symbolic.symbolic.png ./Adwaita/32x32/legacy/system-file-manager-symbolic.symbolic.png ./Adwaita/64x64/legacy/system-file-manager-symbolic.symbolic.png ./Adwaita/16x16/legacy/system-file-manager-symbolic.symbolic.png ./Adwaita/96x96/legacy/system-file-manager-symbolic.symbolic.png
But I think it cannot match those due to the
.symbolic
even when I add them to the icon_dirs.
Comment by ~modprog on ~tsdh/swayr
Nevermind, a reboot restored the icon. apparently it works with community but not with
telegram-desktop-bin
from the aur.
Comment by ~modprog on ~tsdh/swayr
That is confusing, I installed
swayr-git
from the aur andtelegram
from community. I do have the default icon_dirs as well. I'll maybe put a dbg! in the code finding the icons to see what's going on.