# vfmg config
# $Id: vfmgrc,v 1.15 2006/04/18 20:28:24 sparky Exp $

# avaible options:
#exec	= 0/1
#exec_full	= 0/1
#icons	= 0/1
#icons_ext	= 0/1
#icons_full	= 0/1
#icons_scale	= 0/1
#icons_fork	= 0/1
#icons_dir	= string
#icons_oext	= string
#utf	= 0/1
#encoding	= string
#clear	= 0/1
#promote	= 0/1
#strip	= 0/1
#nomenu	= 0/1
# terminal used for terminal applications, see terminal list at final
#xterm	= string
#convert	= string
#full_regen	= 0/1
#destdir	= string

# DR17 specific:
#
# class and name terminal application will have, you should allways specify both
#termapp_class	= string
#termapp_name	= string
#
# application to prepare not existing icons,
# - %1 will be changed to application name string
# - %in is xpm 1x1 blank icon
# - %out is output icon
#text_icon	= string
# 
# file with window class/name/title:
#wcnt_file	= string

##### general configuration #####
# check for executables:
#exec	= 1
# full path to executables:
#exec_full	= 1

icons	= 1
icons_oext	= png

# "faster" menu generation if icons are scaled, but some WMs checks
# only once for icons existance
#icons_fork	= 1

# mose WMs require locale encoding
utf	= 0
encoding	=

# much nicer menu
#promote	= 1
# still nice, allways cleared if promote
clear	= 1

# terminal exemples
#xterm	= Eterm --title 'Eterm: %1' --exec %2
#xterm	= xterm -title 'xterm: %1' -e %2
#xterm	= gnome-terminal --title='gnome-terminal: %1' --execute %2

#should be setup per WM:
#icons_dir
#destdir
#convert
#full_regen
#strip


##### per-WM configuration #####

[DR17]	# Enlightenment DR17
# requires icons scaling
# realy it can scale icons, but we need to unify them
icons_scale	= 1
# DR17 uses png for everything
icons_oext	= png
# conflicts with icons_fork
icons_fork	= 0
# icons may be large, as DR17 can scale them
convert	= convert -geometry 64x64 %in %out
# should be stripped
strip	= 1

# difectory to enlightenments special icons (*.eap)
icons_dir	= ${HOME}/.e/e/applications/all
# difectory to menu structure
destdir	= ${HOME}/.e/e/applications/favorite

# DR17 can handle UTF8, and prefers it over locale encoding
utf	= 1

# example, this way terminal applications will get correct icon
xterm	= Eterm --name Eterm-%1 --exec %2
# Eterm class is always Eterm, and can't be changed
termapp_class	= Eterm
# window name we just gave
termapp_name	= Eterm-%1

# prepare text icon using vera fonts
text_icon	= convert -scale 64x64 -annotate 0,0,2,38 %1 \
	  -font /usr/share/fonts/TTF/VeraBd.ttf -pointsize 24 \
	  %in %out

# wcnt stands for Window Class Name Tittle
# DR17 can use those for identyfying window with application and assign
# it an icon
# vfmg by default uses as windows class binary name changing first letter to upper
# case, but it's not correct in many cases
wcnt_file	= /usr/share/enlightenmentDR17/wcnt.txt;${HOME}/.e/wcnt.txt


[enlightenment]	# Enlightenment DR16
# enlightenment is not scaling icons, and we want it
icons_scale	= 1
# default icons dir in enlightenment
icons_dir	= ${HOME}/.enlightenment/icons
# enli default, good geometry fo most themes
convert	= convert -geometry 18x18 %in %out
# most people use Eterm in enlightenment
#xterm	= Eterm --name %1 --exec %2
# should be stripped
strip	= 1


[fbpanel]
# requires full path to icons, but no need to strip
icons_full	= 1
# requires utf-8
utf	= 1
# should be stripped
strip	= 1


[fluxbox]
# vfmg.init used: vfmg -i -f -x -c -s fluxbox
icons	= 1
icons_full	= 1
exec	= 1
exec_full	= 1
strip	= 1


[fvwm]
exec	= 1
exec_full	= 1
# no icons support
icons	= 0
icons_full	= 0
icons_scale	= 0
# must be unstripped
strip	= 0


[fvwm2]
# requires icons scaling
icons	= 1
icons_scale	= 1
# requires directory for icons (no standart dir)
#icons_dir	= ${HOME}/.icons/fvwm2
# better when using startup generated menu
# warning: vfmg is not checking read permissions
#icons_dir	= /var/cache/icons
# geometry found in wm-icons
convert	= convert -geometry 21x18 %in %out
# must be unstripped
strip	= 0


[icewm]
# icewm.spec: vfmg -i -f -x -c -s icewm
icons	= 1
icons_full	= 1
icons_scale	= 0
exec	= 1
exec_full	= 1
strip	= 1


[metisse]
# metisse is not scaling icons, and we want them
icons_scale	= 1
# iconsdir proposed by sparky
icons_dir	= ${HOME}/.fvwm-metisse/icons
# geometry found in wm-icons
convert	= convert -geometry 21x18 %in %out
# must be unstripped
strip	= 0


[openbox]
# no icons support
icons	= 0
icons_full	= 0
icons_scale	= 0
# requires utf-8
utf	= 1
# strip depends how you use it
#strip	= 1


[qvwm]
# requires icons scaling
icons_scale	= 1
# requires directory for icons (no standart dir)
icons_dir	= ${HOME}/.icons/qvwm
# qvwm uses xpm, but png works too
icons_oext	= xpm
# geometry like in *.xpm icons
convert	= convert -geometry 16x16 %in %out
#should be unstripped
strip	= 0


[wmaker-old]
# WindowMaker-vfmg.patch: vfmg -u -i -f -x -c wmaker-old
icons	= 0
exec	= 1
exec_full	= 1
utf	= 1
strip	= 0


[wmii]
# no icons support
icons	= 0
icons_full	= 0
icons_scale	= 0
# should be stripped
strip	= 1


[xfce4]
# vfmg.init used: vfmg -f -x -c -u -m xfce4
exec	= 1
exec_full	= 1
utf	= 1
nomenu	= 1
strip	= 0


### TERMINAL information ###
[terminals] # will be skipped, so no comment required

#terminal_name: class: "default class": how to change it
#	name:  "default name": how to change it
#	exec:  how to execute some application

Eterm:	class: "Eterm": can't be changed
	name:  "Eterm": --name
	exec:  --exec

Terminal:	class: "Terminal": can't be changed
	name:  "Terminal": can't be changed
	exec:  --command

aterm:	class: "XTerm": can't be changed
	name:  "aterm": -name
	exec:  -e

gnome-terminal:	class: "Gnome-terminal": --class
	name:  "gnome-terminal": --name ? (it's not working)
	exec:  --command

mrxvt:	class: "XTerm": can't be changed
	name:  "mrxvt": -name
	exec:  -e

rxvt:	class: "XTerm": can't be changed
	name:  "rxvt": -name
	exec:  -e

urxvt:	class: "URxvt": can't be changed
	name:  "urxvt": -name
	exec:  -e

xterm:	class: "XTerm": -class
	name:  "xterm": -name
	exec:  -e

# vim: ts=16
