diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2024-01-23 20:27:48 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2024-01-23 20:27:48 -0500 |
| commit | 13323a603edd0e4b962c361f33e71ab00d1a381d (patch) | |
| tree | 4a3167548dc3e0199006960f06bb2979f791d90e | |
| parent | 3026f94bccb9b2c8cd538b4070ae1e390b96ea87 (diff) | |
| download | dotfiles-13323a603edd0e4b962c361f33e71ab00d1a381d.tar.gz dotfiles-13323a603edd0e4b962c361f33e71ab00d1a381d.tar.xz | |
Ignore X utilities on Darwin
| -rwxr-xr-x | install.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -35,7 +35,9 @@ for _f in bin/* ; do setLink -s "$src" -d "$dest" done -if [ -n "$DISPLAY" ] && [ "$XDG_SESSION_TYPE" != "wayland" ] ; then +if [ "$(uname)" != "Darwin" ] \ + && [ -n "$DISPLAY" ] && [ "$XDG_SESSION_TYPE" != "wayland" ] ; then + if ! [ -d "$HOME/x" ] ; then mkdir "$HOME/x" ; fi for _f in x/* ; do src="$(pwd)/$_f" |
