From 5fc10b2c80bdf5ce5c2f5f6ab73ebb758f2ca714 Mon Sep 17 00:00:00 2001
From: Htylol <dixperm909@yandex.ru>
Date: Sun, 1 Sep 2024 01:50:57 +0500
Subject: [PATCH] Added center and fixed for gnome

---
 data_from_portwine/scripts/start.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/data_from_portwine/scripts/start.sh b/data_from_portwine/scripts/start.sh
index d92fe94a..3be91cc4 100755
--- a/data_from_portwine/scripts/start.sh
+++ b/data_from_portwine/scripts/start.sh
@@ -187,9 +187,9 @@ else
     source "$PW_GUI_THEMES_PATH/default.pptheme"
     echo 'export GUI_THEME="default"' >> "$USER_CONF"
 fi
+export YAD_OPTIONS+="--center"
 if [[ "${DESKTOP_SESSION}" =~ "gnome" ]]
-then :
-else export YAD_OPTIONS+="--center"
+then export YAD_OPTIONS+="--fixed"
 fi
 
 # choose branch