Commit 6ba926f0 authored by Mikhail Tergoev's avatar Mikhail Tergoev

Merge branch 'Htylol-center-xfce' into devel

parents e1fd2577 e48797c3
...@@ -176,7 +176,11 @@ else ...@@ -176,7 +176,11 @@ else
source "$PW_GUI_THEMES_PATH/default.pptheme" source "$PW_GUI_THEMES_PATH/default.pptheme"
echo 'export GUI_THEME="default"' >> "$USER_CONF" echo 'export GUI_THEME="default"' >> "$USER_CONF"
fi 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 # choose branch
if [[ -z "$BRANCH" ]] ; then 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