/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef LABWC_SESSION_H #define LABWC_SESSION_H /** * session_environment_init - set enrivonment variables based on = * pairs in `${XDG_CONFIG_DIRS:-/etc/xdg}/lawbc/environment` with user override * in `${XDG_CONFIG_HOME:-$HOME/.config}` */ void session_environment_init(void); /** * session_autostart_init - run autostart file as shell script * Note: Same as `sh ~/.config/labwc/autostart` (or equivalent XDG config dir) */ void session_autostart_init(void); /** * session_shutdown - run session shutdown file as shell script * Note: Same as `sh ~/.config/labwc/shutdown` (or equivalent XDG config dir) */ void session_shutdown(void); #endif /* LABWC_SESSION_H */