commit 11c1c7eeac82956cbe8aba8ec0f775ecac419d6a
parent b46d7f5f99e9e11cd82f75f712fe6ac3df1c4b90
Author: Ilia Bozhinov <ammen99@gmail.com>
Date: Fri, 19 Jun 2020 20:33:31 +0200
Merge pull request #16 from soreau/update-xdg-data-dirs
startwayfire: Set XDG_DATA_DIRS if unset
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/start_wayfire.sh.in b/start_wayfire.sh.in
@@ -1,5 +1,8 @@
#!/bin/bash
+# if $XDG_DATA_DIRS is not set, set it to the spec recommended value
+[ -z "$XDG_DATA_DIRS" ] && export XDG_DATA_DIRS="/usr/local/share:/usr/share"
+
# path for wf-config and wlroots
LD_LIBRARY_PATH=$LD_LIBRARY_PATH
# path is needed for wf-shell clients