This commit is contained in:
Ward Nakchbandi 2022-09-25 20:49:11 +03:00
parent b2f0513b66
commit 3785a554f0
2 changed files with 6 additions and 6 deletions

View File

@ -694,7 +694,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property> <property name="halign">start</property>
<property name="label" translatable="yes">Enable Touchpad Gestures on X11</property> <property name="label" translatable="yes">Enable Touchpad Gestures Improvements</property>
<property name="xalign">0</property> <property name="xalign">0</property>
</object> </object>
<packing> <packing>

View File

@ -3,15 +3,15 @@
# Get needed extensions into userland # Get needed extensions into userland
if [[ $1 == enable ]]; then if [[ $1 == enable ]]; then
if [[ -d "$HOME/.local/share/gnome-shell/extensions/x11gestures@joseexposito.github.io" ]]; then if [[ -d "$HOME/.local/share/gnome-shell/extensions/gestureImprovements@gestures" ]]; then
echo "x11 gestures already in userland no need to download anything" echo "gestures already in userland no need to download anything"
echo "Enabling Now" echo "Enabling Now"
gnome-extensions enable x11gestures@joseexposito.github.io gnome-extensions enable x11gestures@joseexposito.github.io
else else
mkdir -p "$HOME/.cache/nobara-layouts/extensions/" mkdir -p "$HOME/.cache/nobara-layouts/extensions/"
cd "$HOME/.cache/nobara-layouts/extensions/" cd "$HOME/.cache/nobara-layouts/extensions/"
ls x11gesturesjoseexposito.github.io.v14.shell-extension.zip || wget https://extensions.gnome.org/extension-data/x11gesturesjoseexposito.github.io.v14.shell-extension.zip 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/x11gesturesjoseexposito.github.io.v14.shell-extension.zip" gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/gestureImprovementsgestures.v22.shell-extension.zip"
export RELOG_NEEDED=1 export RELOG_NEEDED=1
if [[ $ALL != True ]]; then if [[ $ALL != True ]]; then
@ -20,5 +20,5 @@ if [[ $1 == enable ]]; then
fi fi
else else
echo "Disabling Now" echo "Disabling Now"
gnome-extensions disable x11gestures@joseexposito.github.io gnome-extensions disable gestureImprovements@gestures
fi fi