mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +00:00
75e57baf6c
We look for the client config in $XDG_CONFIG_HOME/looking-glass/client.ini. This is done because it's more conventional, and also allows us to add additional configuration files, e.g. for the host. We fallback to $HOME/.config as is standard, and then as a last resort use getpwuid(getuid())->pw_dir. This is also recommended by the getpwuid manpage: > An application that wants to determine its user's home directory should > inspect the value of HOME (rather than the value getpwuid(getuid())->pw_dir) > since this allows the user to modify their notion of "the home directory" > during a login session. |
||
---|---|---|
.. | ||
overlay | ||
app.c | ||
clipboard.c | ||
clipboard.h | ||
config.c | ||
config.h | ||
core.c | ||
core.h | ||
egl_dynprocs.c | ||
eglutil.c | ||
kb.c | ||
kb.h | ||
keybind.c | ||
keybind.h | ||
lg-renderer.c | ||
ll.c | ||
main.c | ||
main.h | ||
overlay_utils.c | ||
overlays.h | ||
util.c |