Make xinitrc path configurable

This commit is contained in:
Utkarsh Verma
2022-06-03 07:43:19 +05:30
parent 609b3f9ddc
commit 079f68696b
4 changed files with 8 additions and 1 deletions

View File

@@ -82,7 +82,7 @@ void input_desktop(struct desktop* target)
target->len = 0;
input_desktop_add(target, strdup(lang.shell), strdup(""), DS_SHELL);
input_desktop_add(target, strdup(lang.xinitrc), strdup("~/.xinitrc"), DS_XINITRC);
input_desktop_add(target, strdup(lang.xinitrc), strdup(config.xinitrc), DS_XINITRC);
#if 0
input_desktop_add(target, strdup(lang.wayland), strdup(""), DS_WAYLAND);
#endif