From 38bab29776950ac2364ed64195b89887717c33de Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 1 Jan 1970 03:00:00 +0300 Subject: chore: init --- profile/.profile.d/wine.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 profile/.profile.d/wine.sh (limited to 'profile/.profile.d/wine.sh') diff --git a/profile/.profile.d/wine.sh b/profile/.profile.d/wine.sh new file mode 100644 index 0000000..8f078ce --- /dev/null +++ b/profile/.profile.d/wine.sh @@ -0,0 +1,13 @@ +#!/bin/sh +#shellcheck disable=SC2139 + +if command -v wine >/dev/null 2>&1; then + export WINEARCH="win64" + export WINEDEBUG="+all" + export WINEDLLOVERRIDES="winemenubuilder.exe=d" + export WINEPREFIX="${HOME}/.wine" + + if command -v xrandr >/dev/null 2>&1; then + alias wine-run="wine explorer.exe /desktop=default,$(xrandr | grep '\*' | cut -d' ' -f4)" + fi +fi -- cgit 1.4.1