Commit e48797c3 authored by Mikhail Tergoev's avatar Mikhail Tergoev

Merge branch 'center-xfce' of github.com:Htylol/PortWINE into Htylol-center-xfce

parents e1fd2577 ac26ce75
......@@ -176,7 +176,11 @@ else
source "$PW_GUI_THEMES_PATH/default.pptheme"
echo 'export GUI_THEME="default"' >> "$USER_CONF"
fi
[[ "$XDG_SESSION_DESKTOP" =~ "KDE" ]] && export YAD_OPTIONS+="--center"
if [[ "$XDG_SESSION_DESKTOP" =~ "KDE" ]] \
|| [[ "$XDG_CURRENT_DESKTOP" == "XFCE" ]]
then
export YAD_OPTIONS+="--center"
fi
# choose branch
if [[ -z "$BRANCH" ]] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment