Skip to content

Commit 11c1c7e

Browse files
authored
Merge pull request #16 from soreau/update-xdg-data-dirs
startwayfire: Set XDG_DATA_DIRS if unset
2 parents b46d7f5 + afeacd0 commit 11c1c7e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

start_wayfire.sh.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
22

3+
# if $XDG_DATA_DIRS is not set, set it to the spec recommended value
4+
[ -z "$XDG_DATA_DIRS" ] && export XDG_DATA_DIRS="/usr/local/share:/usr/share"
5+
36
# path for wf-config and wlroots
47
LD_LIBRARY_PATH=$LD_LIBRARY_PATH
58
# path is needed for wf-shell clients

0 commit comments

Comments
 (0)