File tree 1 file changed +17
-0
lines changed
system_files/deck/shared/usr/share/ublue-os/just
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,23 @@ restore-input-remapper:
105
105
cp /usr/share/applications/input-remapper-gtk.desktop ~/.local/share/applications/input-remapper-gtk.desktop && \
106
106
sed -i '/NoDisplay=true/d' ~/.local/share/applications/input-remapper-gtk.desktop
107
107
108
+ # Disable Steam Gaming Mode swipe gestures
109
+ disable-swipe-gestures ACTION="" :
110
+ # !/usr/bin/bash
111
+ OPTION ={{ ACTION }
112
+ source /usr/lib/ujust/ujust.sh
113
+ if [-d $HOME/.config/environment.d]; then
114
+ echo environment.d exists
115
+ rm "$HOME/.config/environment.d/bazzite-disable-gamescope-gestures.conf"
116
+ else
117
+ mkdir -p $HOME/.config/environment.d
118
+ cat <<EOF > "$HOME/.config/environment.d/bazzite-disable-gamescope-gestures.conf"
119
+ export GAMESCOPE_DISABLE_TOUCH_GESTURES =1
120
+ echo "disabling swipe gestures for QAM and HOME"
121
+ echo "Done. Please restart Steam Game Mode to see changes"
122
+ fi
123
+ EOF
124
+
108
125
alias _toggle-wayland := _toggle_wayland
109
126
110
127
_toggle_wayland :
You can’t perform that action at this time.
0 commit comments