modifications to support windows

This commit is contained in:
PowerUser64 2025-04-01 21:05:43 -07:00
parent 671acaa74f
commit 48766a9a7b
8 changed files with 44 additions and 103 deletions

View file

@ -1,7 +1,9 @@
#!/bin/sh
# shellcheck disable=SC2155
export PROFILE_LOADED=true
echo "Profile start"
([[ -z ${PROFILE_LOADED} ]] && PROFILE_LOADED="true") || return
export SHELL_CONFIG_DIR="${SHELL_CONFIG_DIR:-"${XDG_CONFIG_HOME:-"$HOME/.config"}/shell"}"
@ -51,8 +53,6 @@ export VDPAU_DRIVER=va_gl # Fix steam remote play black screen
# shellcheck disable=SC2046
command -v dbus-launch > /dev/null && export $(dbus-launch)
# If running in a TTY…
if [ "$(tty | sed 's-[0-9]$--g')" = /dev/tty ]; then
export IS_TTY=true
@ -76,4 +76,6 @@ else
fi
fi
echo "Profile done"
# vim:ft=sh:sw=3:ts=3:nospell