[Y-devel] [PATCH] LoadConfig
Matt Wilson matt at mattsscripts.co.uk
Tue Feb 24 13:48:40 GMT 2004
Just a small patch that I've wanted for a few days, allows the use of;
LoadConfig "/path/to/config/file"
or, as is more likely;
LoadConfig "$HOME/.Y/config.conf"
(it handles environment variables ... crudely)
to load user specific config variables.
I've currently got a file $HOME/.Y/config.conf which loads
$HOME/.Y/$Y_VIDEO.conf to set the video driver depending on whether I'm
in X or in the console (either Y_VIDEO='sdl' or Y_VIDEO='fbdev').
Matt
--
https://www.mattsscripts.co.uk/
- A great source for free CGI and stuff
Even bytes get lonely for a little bit.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Y--devel--0.2--patch-22-loadconfig.diff
Type: text/x-patch
Size: 1746 bytes
Desc: not available
Url : https://www.y-windows.org/pipermail/y-devel/attachments/20040224/441e776f/Y--devel--0.2--patch-22-loadconfig-0001.bin
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved