From ac709e15130fef8d471da0be04693345abec459d Mon Sep 17 00:00:00 2001 From: Suikan <26223147+suikan4github@users.noreply.github.com> Date: Sat, 7 May 2022 14:48:01 +0900 Subject: [PATCH] Removed GUIENV variable. It is not used anymore. --- script/config.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/script/config.sh b/script/config.sh index c3203cd..096c64b 100644 --- a/script/config.sh +++ b/script/config.sh @@ -88,11 +88,3 @@ else # BIOS firmware export CRYPTPARTITION=1 fi # EFI firmware - -# Detect the GUI environment -# This code is not efered. Just left because it is interestintg code. -if env | grep -w -e XDG_SESSION_TYPE -e DISPLAY -e WAYLAND_DISPLAY > /dev/null ; then - export GUIENV=1 # set 1 if GUI env. -else - export GUIENV=0 # set 0 if not GUI env. -fi \ No newline at end of file