Setup mini icon for xterm and mc. fvwm
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 16 Jan 2009 00:21:31 +0200
branchfvwm
changeset 375 9a4a389f9ffc
parent 374 4b4bdc7e6c9d
child 376 3ed029088442
Setup mini icon for xterm and mc.
.fvwm/config
.fvwm/icons/mc-16x16.xpm
.fvwm/icons/terminal-16x16.xpm
--- a/.fvwm/config	Thu Jan 15 23:37:59 2009 +0200
+++ b/.fvwm/config	Fri Jan 16 00:21:31 2009 +0200
@@ -40,13 +40,10 @@
 # Program Styles.
 #################
 
-# TODO need works.
 Style "*" Icon x-32x32.xpm
 Style "*" MiniIcon x-16x16.xpm
-# Style "XTerm" Icon 48x48/terminal.png, NoActiveIconOverride, MiniIcon mini/terminal.png
-# Style "gvim" Icon 48x48/vim.png, IconOverride, MiniIcon mini/vim.png, EWMHMiniIconOverride
-# Style "Firefox-bin" Icon 48x48/firefox.png, MiniIcon mini/firefox.png, EWMHMiniIconOverride
-# Style "irssi" Icon 48x48/irc.png, MiniIcon mini/irc.png
+Style "XTerm" Icon terminal-16x16.xpm, MiniIcon terminal-16x16.xpm
+Style "Mc" Icon mc-16x16.xpm, MiniIcon mc-16x16.xpm
 
 # ############
 # FvwmTaskBar.
@@ -197,8 +194,8 @@
 AddToMenu Utilities Utilities Title
 + Xterm           Exec  exec xterm -e bash -i
 + Mc              Exec  exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \
-                             -geometry 120x42 -e bash -i -c "mc -x"
-+ Emacs           Exec  exec emacs
+                             -name Mc -geometry 120x42 -e bash -i -c "mc -x"
++ Emacs           Exec  exec emacsname
 
 + debian          Popup "/Debian"
 + my              Popup MenuMy
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.fvwm/icons/mc-16x16.xpm	Fri Jan 16 00:21:31 2009 +0200
@@ -0,0 +1,26 @@
+/* XPM */
+static char * mini-cross_xpm[] = {
+"16 16 6 1",
+" 	c None s None",
+".	c #4080f0",
+"b	c #c0c0e0",
+"g  c #209090",
+"o	c black",
+"w	c gray",
+"                ",
+"oooooooooooooooo",
+"oggggggggggggggo",
+"oooooooooooooooo",
+"o......oo......o",
+"o.bbbb.oo.bbbb.o",
+"o......oo......o",
+"o.bbbb.oo.bbbb.o",
+"o......oo......o",
+"o.bbbb.oo.bbbb.o",
+"o......oo......o",
+"o.bbbb.oo......o",
+"o......oo......o",
+"o......oo......o",
+"owwwwwwwwwwwwwwo",
+"oooooooooooooooo" };
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.fvwm/icons/terminal-16x16.xpm	Fri Jan 16 00:21:31 2009 +0200
@@ -0,0 +1,24 @@
+/* XPM */
+static char * mini-cross_xpm[] = {
+"16 16 4 1",
+" 	c None s None",
+".	c #ffffe0",
+"g	c gray",
+"o	c black",
+"                ",
+" oooooooooooooo ",
+"o..............o",
+"o..............o",
+"o..o...........o",
+"o..oo..........o",
+"o...oo.........o",
+"o....oo........o",
+"o...oo.........o",
+"o..oo..oooooo..o",
+"o..o...oooooo..o",
+"o..............o",
+"o..............o",
+"o..............o",
+" oooooooooooooo ",
+"                " };
+