Support ~/.config/labwc/{autostart,environment}

This commit is contained in:
Johan Malm 2020-10-08 20:50:20 +01:00
parent 80947e56ee
commit 45b13fc9a0
5 changed files with 155 additions and 6 deletions

16
include/config/session.h Normal file
View file

@ -0,0 +1,16 @@
#ifndef __LABWC_SESSION_H
#define __LABWC_SESSION_H
/**
* session_environment_init - set enrivonment variables
* Note: Same as `. ~/.config/labwc/environment` (or equivalent XDG config dir)
*/
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)
*/
session_autostart_init(void);
#endif /* __LABWC_SESSION_H */