Possible to change location of xmonad.hs?

I like to put all of my important configuration files inside ~/etc for easy backup. Is there a way to have xmonad load ~/etc/xmonad.hs in place of ~/.xmonad/xmonad.hs? I know I could use a symlink but then I'd have to remember to set that up again, would prefer if there was a command line option to xmonad or someway to specify in ~/.xmonad/xmonad.hs that it should just look at ~/etc/xmonad.hs.

xmonad only looks in ~/.xmonad/xmonad.hs, though an option could be added, the symlink or hardlink option works fine: I generate the links (for everything in the directory) with the following script, run in the source (backup) directory:
#!/bin/sh pwd=`pwd` for x in *; do ln -vs "$pwd/$x" ~/".$x" done
* On Wednesday, January 28 2009, Joseph Garvin wrote:
I like to put all of my important configuration files inside ~/etc for easy backup. Is there a way to have xmonad load ~/etc/xmonad.hs in place of ~/.xmonad/xmonad.hs? I know I could use a symlink but then I'd have to remember to set that up again, would prefer if there was a command line option to xmonad or someway to specify in ~/.xmonad/xmonad.hs that it should just look at ~/etc/xmonad.hs. _______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

Joseph Garvin
I like to put all of my important configuration files inside ~/etc for easy backup. Is there a way to have xmonad load ~/etc/xmonad.hs in place of ~/.xmonad/xmonad.hs? I know I could use a symlink but then I'd have to remember to set that up again
To help me with this, I wrote a Makefile that causes "make install" to set up all symlinks again. http://twb.ath.cx/Preferences/GNUmakefile The parent dir is a Darcs repo you can "darcs get" if you want to look at other stuff in there.
participants (3)
-
Adam Vogt
-
Joseph Garvin
-
trentbuckļ¼ gmail.com