bilelmoussaoui / Hardcode-Tray

Fixes Hardcoded tray icons in Linux
Other
863 stars 61 forks source link

Feature request - number badge to telegram #615

Closed arun54321 closed 4 years ago

arun54321 commented 4 years ago

I made icons with numbers on them using imagemagick. Could you include this command as an optional feature?

for i in {1..99} ; do convert a.png -fill "#ececec" -draw "circle 16,16, 16,21" -font Hack-Regular -pointsize 7 -draw "fill black text 13,19 '$i' " icon_22_$i.png ; done

image

arun54321 commented 4 years ago

for i in {1..99} ; do convert ~/.local/share/TelegramDesktop/tdata/ticons/iconmute_22_0.png -page -4-4 -background none -flatten \ \( +page -fill "#ececec" -stroke gray -draw "circle 14,14, 14,21" \) \ \( +stroke -font Helvetica -pointsize 9 -gravity center -draw "fill black text 4,5 '$i' " \) \ icon_22_$i.png ; done

image