From 7a4eaaa5b7dc95820af0c12b42f1a43d84d75afc Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Mon, 30 Oct 2023 11:10:58 -0700 Subject: [PATCH] env: use custom wine prefix and wine runner when present --- .config/shell/env | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.config/shell/env b/.config/shell/env index 0c9dbe8..1e2d76d 100644 --- a/.config/shell/env +++ b/.config/shell/env @@ -115,4 +115,12 @@ N="${NIXOS_DIR:-}" export S SS # this makes it easier to load the shrc while in posix sh +# wine things (TODO: REMOVE WHEN NOT NEEDED) +if test -d "$HOME/.local/share/bottles/bottles/east-west-composers"; then + WINEPREFIX="$HOME/.local/share/bottles/bottles/east-west-composers" +fi +if test -d "$HOME/.local/share/bottles/runners/wine-ge-proton8-21/bin"; then + PATH="$HOME/.local/share/bottles/runners/wine-ge-proton8-21/bin:$PATH" +fi + # vim:fdm=marker:fmr=>>>,<<<:et:ft=sh:sw=3:ts=3