Fonts: I used ZaleskiCaps for time, and WindsorDemi for the date
As for the config, i’ll post it, there won’t be any notes included though or anything, didn’t have time to start doing that
You can grab it here
The menu stuff can all be found in /includes/menu.fvwm2rc (if you have a look in here, when looking at the functions, note, I’m very new to sed )
Thanks for you config, I have been trying to mess with the section of menu code that allows you to see your config files from the menu. I would like to add it to my config but it is not working.
Here is what I have added to my fvwm2rc.menus section:
I PipeRead ‘for i in find $0 -name \*fvwm2rc \ | sed -e "s,\\\($0\\\)\\\(/\\\),," -e "s,/.*,," | sort -u;
do [[ “echo $i | grep fvwm2rc” != “” ]] &&
echo “+ “$i” Exec exec gedit “$0/$i”” ||
echo “+ “$i” Popup “$0/$i””; done’[/code]
What am I missing? Or what do I need to change to get it to work. The Config section is added along with its submenu of Appearace, Config Files, X settings, Refresh, and Kill. It does not work from there–kill and refresh do but I dont even need those. I just want to be able to see my config files from that menu.
I + DynamicPopDownAction DestroyMenu $0[/code]
although you could just change the whole MenuListConfigFunc for
[code]AddToFunc MenuListConfigFunc
I DestroyMenu recreate $0
I AddToMenu $0
I + DynamicPopDownAction DestroyMenu $0
I + MissingSubmenuFunction MenuListConfigFunc
I PipeRead ‘for i in find $0 -name \*fvwm2rc \ | sed -e "s,\\\($0\\\)\\\(/\\\),," -e "s,/.*,," | sort -u;
do [[ “echo $i | grep fvwm2rc” != “” ]] &&
echo “+ “$i” Exec exec $[fvwm_editor] “$0/$i”” ||
echo “+ “$i” Popup “$0/$i””; done’[/code]
Hope this helps !
Just a note, the menulistconfigfunc only creates a list of the *.fvwm2rc files in the specified directory (in this case fvwm_userdir aka ~/.fvwm/), so if you want youre config files listed you need to put an ending to all the config files, and the ending should be fvwm2rc
I PipeRead ‘for i in find $0 -name \fvwm2rc* \ | sed -e "s,\\\($0\\\)\\\(/\\\),," -e "s,/.*,," | sort -u;
do [[ “echo $i | grep fvwm2rc” != “” ]] &&
echo “+ “$i” Exec exec gedit “$0/$i”” ||
echo “+ “$i” Popup “$0/$i””; done’[/code]
That got it to work for me Thanks for your help. This may be a little off topic but how do i remove files with “~” at the end? They appear to be backup files. They do not appear in nautilus, but they do show up in the console and the menu.link@link:~$ cd /home/link/.fvwm/
link@link:~/.fvwm$ ls
fvwm2rc~ fvwm2rc.dock fvwm2rc.pager~ fvwm2rc.thumbnails
fvwm2rc.applications fvwm2rc.dock~ fvwm2rc.quit fvwm2rc.thumbnails~
fvwm2rc.applications~ fvwm2rc.menus fvwm2rc.quit~ fvwm2rc.variables
fvwm2rc.bindings fvwm2rc.menus~ fvwm2rc.settings fvwm2rc.variables~
fvwm2rc.bindings~ fvwm2rc.misc fvwm2rc.settings~ images
fvwm2rc.cursors fvwm2rc.misc~ fvwm2rc.terminal scripts
fvwm2rc.cursors~ fvwm2rc.pager fvwm2rc.terminal~ themes
Do I have to delete them all manually? Why are they created, and will it hurt anything to delete them?
If this is too far off topic, just let me know and I will remove this post.