~modprog


#32 Icon for telegram desktop 2 years ago

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

#32 Icon for telegram desktop 2 years ago

Comment by ~modprog on ~tsdh/swayr

The .desktop file from dolphin specifies Icon=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.

#32 Icon for telegram desktop 2 years ago

Comment by ~modprog on ~tsdh/swayr

One thing I noticed is, that some applications like dolphin or pavucontrol use e.g. system-file-manager. In the default Adwaita 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.

#32 Icon for telegram desktop 2 years ago

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.

#32 Icon for telegram desktop 2 years ago

Comment by ~modprog on ~tsdh/swayr

That is confusing, I installed swayr-git from the aur and telegram 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.

#32 Icon for telegram desktop 2 years ago

Ticket created by ~modprog on ~tsdh/swayr

The app_id is org.telegram.desktop the desktop file org.telegram.desktop.desktop and the icon telegram.png.

swayr was unable to locate it correctly.

#135 column boundary wobbles when given too many input lines of varying length 2 years ago

Comment by ~modprog on ~scoopta/wofi

I have the same issue in drun mode, though it stabilizes a bit quicker. Sadly, I don't have any c experience, so won't be able to look into this my self.