Skip to content

Instantly share code, notes, and snippets.

View detherminal's full-sized avatar
🏴

dethe detherminal

🏴
View GitHub Profile
@detherminal
detherminal / brave_two_finger_touchpad.sh
Last active April 21, 2024 22:37
Brave Browser Wayland Two (2) Finger Touchpad Gesture Swipe History Back And Forth Enabling
# To add two-finger gesture to back and forth swiping, follow this steps with shell
# 1 - Open .desktop file with nano
sudo nano /usr/share/applications/brave-browser.desktop
# 2 - Move to a little bottom, edit the place where it is `Exec=` to match this
Exec=/usr/bin/brave-browser-stable %U --ozone-platform=wayland --enable-features=TouchpadOverscrollHistoryNavigation
# Use `Ctrl-O` to write and `Ctrl-X` to exit
# Now restart the brave browser and you will be able to swipe back and forth with two-finger touchpad gestures.
@detherminal
detherminal / main.sh
Created February 8, 2023 15:49
Resetting Raspberry Pi Pico from terminal
sudo mpremote exec "machine.reset()"