diff --git a/src/etc/nobara/scripts/nobara-layouts/nobara-layouts.py b/src/etc/nobara/scripts/nobara-layouts/nobara-layouts.py index 622f5ed..e667758 100644 --- a/src/etc/nobara/scripts/nobara-layouts/nobara-layouts.py +++ b/src/etc/nobara/scripts/nobara-layouts/nobara-layouts.py @@ -74,7 +74,7 @@ class Application: workspace_switch.set_active(False) x11_switch = self.builder.get_object("x11_switch") - x11_output = subprocess.run(["gsettings get org.gnome.shell enabled-extensions | grep x11gestures@joseexposito.github.io"], shell=True, stdout=subprocess.DEVNULL) + x11_output = subprocess.run(["gsettings get org.gnome.shell enabled-extensions | grep gestureImprovements@gestures"], shell=True, stdout=subprocess.DEVNULL) if (x11_output.returncode) == 0: x11_switch.set_active(True) else: diff --git a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/x11.sh b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/x11.sh index 7bac399..fb1a743 100755 --- a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/x11.sh +++ b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/x11.sh @@ -1,24 +1,7 @@ #! /bin/bash -# Get needed extensions into userland - if [[ $1 == enable ]]; then - if [[ -d "$HOME/.local/share/gnome-shell/extensions/gestureImprovements@gestures" ]]; then - echo "gestures already in userland no need to download anything" - echo "Enabling Now" - gnome-extensions enable x11gestures@joseexposito.github.io - else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls gestureImprovementsgestures.v22.shell-extension.zip || wget https://extensions.gnome.org/extension-data/gestureImprovementsgestures.v22.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/gestureImprovementsgestures.v22.shell-extension.zip" - export RELOG_NEEDED=1 - - if [[ $ALL != True ]]; then - /etc/nobara/scripts/nobara-layouts/reload.sh - fi - fi + gnome-extensions enable gestureImprovements@gestures else -echo "Disabling Now" gnome-extensions disable gestureImprovements@gestures fi