Updated Makefile to download & convert website favicons for Chromium, Iridium, and Claws-Mail

This commit is contained in:
Morgan Aldridge 2023-07-25 16:19:58 -04:00
parent b4527aa8a7
commit 82e4facb5f
3 changed files with 16 additions and 181 deletions

View File

@ -1,177 +0,0 @@
/* XPM */
static char *chromium[] = {
/* columns rows colors chars-per-pixel */
"16 16 155 2 ",
" c #1D5086",
". c #265786",
"X c #235789",
"o c #2E5F8F",
"O c #356491",
"+ c #3F6D97",
"@ c #336798",
"# c #366799",
"$ c #386A99",
"% c #3B6C9C",
"& c #3E709E",
"* c #436F9B",
"= c #47719C",
"- c #45729C",
"; c #49749F",
": c #4574A2",
"> c #4373A4",
", c #4F79A2",
"< c #4F7AA3",
"1 c #4B78A5",
"2 c #4F79A6",
"3 c #4E79A7",
"4 c #4D7AA7",
"5 c #4F7BA7",
"6 c #507AA3",
"7 c #5179A4",
"8 c #5179A7",
"9 c #507EA8",
"0 c #517EA9",
"q c #537EAA",
"w c #537FAA",
"e c #417CBE",
"r c #447EBF",
"t c #457EBF",
"y c #5682AE",
"u c #5683AE",
"i c #5684AD",
"p c #5A84AB",
"a c #5883AD",
"s c #5E87B1",
"d c #5F89B2",
"f c #5888B7",
"g c #6289B0",
"h c #6088B3",
"j c #6F93B6",
"k c #578CC2",
"l c #578CC3",
"z c #588DC2",
"x c #5A8EC3",
"c c #5A89C7",
"v c #5C8CC8",
"b c #5D90C4",
"n c #6193C6",
"m c #6195C7",
"M c #6294C6",
"N c #6597C8",
"B c #6B95CE",
"V c #6C96CE",
"C c #6799CB",
"Z c #6D9BC8",
"A c #6B9CCB",
"S c #6E9ECC",
"D c #6F9FCC",
"F c #6E9FCD",
"G c #6E9FCE",
"H c #759AC2",
"J c #709FCE",
"K c #6F98D0",
"L c #709AD1",
"P c #71A4D7",
"I c #7EA4D6",
"U c #7FA5D6",
"Y c #76A8D9",
"T c #7AABDA",
"R c #7CACDB",
"E c #7FAFDD",
"W c #80A7D8",
"Q c #81A9DA",
"! c #82AFD9",
"~ c #88AEDC",
"^ c #89AFDD",
"/ c #89B0D4",
"( c #8CB3D6",
") c #8CB4D5",
"_ c #80B1DE",
"` c #81B1DE",
"' c #83B2DE",
"] c #83B3DF",
"[ c #85B4DF",
"{ c #87B5DF",
"} c #88B4DD",
"| c #90B4D8",
" . c #91B5D9",
".. c #97BAD8",
"X. c #99BAD8",
"o. c #9CBCD9",
"O. c #83B4E0",
"+. c #84B5E1",
"@. c #86B5E1",
"#. c #87B6E1",
"$. c #88B7E2",
"%. c #88B8E1",
"&. c #8AB8E1",
"*. c #8DBAE5",
"=. c #8CBBE5",
"-. c #97BEE3",
";. c #ABC5DB",
":. c #A9C4DC",
">. c #ACC6DD",
",. c #AFC9DF",
"<. c #B3CBDD",
"1. c #9AC1E6",
"2. c #9EC2E5",
"3. c #AEC7E3",
"4. c #AECCE7",
"5. c #A4C8E8",
"6. c #BACEE0",
"7. c #B8CDE6",
"8. c #B9CDE7",
"9. c #BED0E0",
"0. c #BDD2E2",
"q. c #BFD2E2",
"w. c #B9D3EB",
"e. c #C8D9E5",
"r. c #C7D7ED",
"t. c #C6DDEF",
"y. c #CADBE9",
"u. c #C7DDF0",
"i. c #C7DEF2",
"p. c #CBDFF1",
"a. c #D3E4EF",
"s. c #CEE1F0",
"d. c #CFE1F1",
"f. c #CFE2F1",
"g. c #D0E2F1",
"h. c #D1E2F1",
"j. c #D0E3F1",
"k. c #D1E3F1",
"l. c #D1E3F2",
"z. c #D3E4F2",
"x. c #D5E6F2",
"c. c #D7E7F3",
"v. c #D1E3F4",
"b. c #D1E5F6",
"n. c #D9E8F1",
"m. c #DBE9F3",
"M. c #DDEAF3",
"N. c #DBE9F5",
"B. c #E3EFFB",
"V. c #E5F0FC",
"C. c #F5F9FB",
"Z. c #F8FAFB",
"A. c #FEFFFF",
"S. c white",
"D. c None",
/* pixels */
"D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.",
"D.D.D.D.D.7 2 3 3 8 < D.D.D.D.D.",
"D.D.D.* ; 6 d h h s , = + D.D.D.",
"D.D.. O 4 0 w q 9 5 1 : o X D.D.",
"D.D.f $ & % @ g j u y i a - D.D.",
"D.J ! > # p A.V.B.S.v.i.b.y.e.D.",
"D.D *.F Z.Q ~ ^ W C.l.k.k.q.D.",
"D.S &.=.H r.K I U L 8.N.d.g.9.D.",
"D.A { $.2.7.c B V v 3.m.d.h.6.D.",
"D.N ` %.O.M.e r t e m.k.g.f.<.D.",
"D.n G [ #.1.n. .| a.c.g.j.0.;.D.",
"D.D.M R ] @.+.5.-.4.z.h.p.>.D.D.",
"D.D.x m T E ' _ } x.s.u.:...D.D.",
"D.D.D.z b C Y P w.t.,.o.( D.D.D.",
"D.D.D.D.D.k l Z X.) / D.D.D.D.D.",
"D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D."
};

View File

@ -10,6 +10,11 @@ pixmap:
curl -# -L http://www2u.biglobe.ne.jp/~y-miyata/mlvwm/mini-icons.tar.gz -o $(TEMP)/mini-icons.tar.gz
tar -C $(PIXMAP) -xzf $(TEMP)/mini-icons.tar.gz
curl -# -L https://raw.githubusercontent.com/videolan/vlc/master/share/icons/16x16/vlc.xpm -o $(PIXMAP)/vlc.xpm
convert https://www.chromium.org/favicon.ico $(PIXMAP)/chromium.xpm
curl -# -L https://claws-mail.org/favicon.ico -o $(TEMP)/claws-mail-favicon.ico
curl -# -L https://iridiumbrowser.de/favicon.ico -o $(TEMP)/iridium-favicon.ico
convert $(TEMP)/claws-mail-favicon.ico $(PIXMAP)/claws-mail.xpm
convert $(TEMP)/iridium-favicon.ico[2] $(PIXMAP)/iridium.xpm
patterns:
test ! -d $(PATTERNS) && mkdir $(PATTERNS)
@ -21,8 +26,14 @@ install:
ln -fs $(HOME)/$(CONF)/.mlvwmrc $(HOME)/.mlvwmrc
sed -i 's@/home2/tak/bin/pixmap@$(HOME)/$(PIXMAP)@g' $(HOME)/$(CONF)/.mlvwmrc
clean:
clean: clean-pixmap
rm -r $(TEMP)
rm -r $(PIXMAP)/mini*.xpm
rm $(PIXMAP)/vlc.xpm
rm -rf $(PATTERNS)
clean-pixmap:
rm $(PIXMAP)/mini*.xpm
rm $(PIXMAP)/chromium.xpm
rm $(PIXMAP)/claws-mail.xpm
rm $(PIXMAP)/iridium.xpm
rm $(PIXMAP)/vlc.xpm

View File

@ -18,10 +18,11 @@ MLVWM includes a very rudimentary set of rc ([run command](https://en.wikipedia.
* `locale`
* `curl`
* `make`
* ImageMagick
## USAGE
Run `make && make install` to install `.mlvwmrc` and `.mlvwm/` in your home directory, including downloading appropriate icons.
Run `make && make install` to install `.mlvwmrc` and `.mlvwm/` in your home directory, including downloading and/or converting appropriate icons.
## TESTING