]> git.draconx.ca Git - fvwmconf.git/commitdiff
Default to atropos's config if no host-specific config is present.
authorNick Bowler <draconx@gmail.com>
Tue, 20 May 2008 03:18:58 +0000 (23:18 -0400)
committerNick Bowler <draconx@gmail.com>
Tue, 20 May 2008 03:18:58 +0000 (23:18 -0400)
config
default [new symlink]

diff --git a/config b/config
index 9a5a447e096964145fb82d06c1f5c0ee70b9a8bd..bcf5388c8cd34a32909c150fd7d10e532a1ff619 100644 (file)
--- a/config
+++ b/config
@@ -13,7 +13,9 @@ Read global/fullscreen
 Read global/windowmenu
 
 # Machine-specific features
-Read $[HOST]/config
+PipeRead "[ -f '$[FVWM_USERDIR]/$[HOST]/config' ] \
+          && echo Read $[HOST]/config \
+         || echo Read default/config"
 
 # Virtual Desktops
 DesktopSize 6x1
diff --git a/default b/default
new file mode 120000 (symlink)
index 0000000..bb48baf
--- /dev/null
+++ b/default
@@ -0,0 +1 @@
+atropos
\ No newline at end of file