From ac2ab3331a21961e1f630da0ede8c40c77410c7e Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Wed, 20 Dec 2023 11:58:05 +0100 Subject: [PATCH] Updates --- hypr/settings/modules/sddm/config.sh | 2 +- hypr/settings/modules/waybar/bluetooth/config.sh | 2 +- hypr/settings/modules/waybar/config.sh | 2 +- hypr/settings/modules/waybar/workspaces/module.sh | 6 ++++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/hypr/settings/modules/sddm/config.sh b/hypr/settings/modules/sddm/config.sh index 586821f..2a1bbd0 100644 --- a/hypr/settings/modules/sddm/config.sh +++ b/hypr/settings/modules/sddm/config.sh @@ -1,2 +1,2 @@ name="SDDM" -order=30 \ No newline at end of file +order=40 \ No newline at end of file diff --git a/hypr/settings/modules/waybar/bluetooth/config.sh b/hypr/settings/modules/waybar/bluetooth/config.sh index 7eec010..c130399 100644 --- a/hypr/settings/modules/waybar/bluetooth/config.sh +++ b/hypr/settings/modules/waybar/bluetooth/config.sh @@ -1,2 +1,2 @@ -name="Bluetooth" +name="Hide Bluetooth" order=1 diff --git a/hypr/settings/modules/waybar/config.sh b/hypr/settings/modules/waybar/config.sh index 32d60e9..5fa4397 100644 --- a/hypr/settings/modules/waybar/config.sh +++ b/hypr/settings/modules/waybar/config.sh @@ -1,2 +1,2 @@ name="Waybar" -order=40 +order=50 diff --git a/hypr/settings/modules/waybar/workspaces/module.sh b/hypr/settings/modules/waybar/workspaces/module.sh index 1dee3d2..80dd5cf 100755 --- a/hypr/settings/modules/waybar/workspaces/module.sh +++ b/hypr/settings/modules/waybar/workspaces/module.sh @@ -13,7 +13,7 @@ customtemplate="\"*\": VALUE" # Select Value customvalue=$(gum choose 5 6 7 8 9 10) - +if [ ! -z $customvalue ] ;then # Replace in Template customtext="${customtemplate/VALUE/"$customvalue"}" @@ -36,4 +36,6 @@ else sleep 2 _goBack fi - +else + _goBack +fi