This commit is contained in:
Stephan Raabe
2024-01-11 16:03:36 +01:00
parent f807a8af03
commit 222b23bb4c
37 changed files with 303 additions and 126 deletions

View File

@@ -12,11 +12,13 @@ startMarker="START CHATGPT TOOGLE"
endMarker="END CHATGPT TOOGLE"
# Select Value
customvalue=$(gum choose "SHOW" "HIDE")
customvalue=$(gum choose "SHOW" "HIDE" "DEFAULT")
if [ ! -z $customvalue ]; then
if [ "$customvalue" == "SHOW" ] ;then
customtext=" \"custom\/chatgpt\","
elif [ "$customvalue" == "DEFAULT" ] ;then
customtext=" \"custom\/chatgpt\","
else
customtext=" \/\/\"custom\/chatgpt\","
fi