Introduction
Introduction Statistics Contact Development Disclaimer Help
netwmicon.sh - sites - public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log
Files
Refs
---
netwmicon.sh (286B)
---
1 #!/bin/sh
2
3 # Dependencies: imagemagick, inkscape
4 # Bug: Seems to distort the icon. Probably caused by hexdump.
5 echo 'unsigned long icon[] = {'
6 identify -format '%w, %h,\n' "$1" | sed 's/^/ /'
7 convert -background none "$1" RGBA: | hexdump -ve '"0x%08x, "' | fmt | s…
8 echo "};"
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.