Skip to content

Instantly share code, notes, and snippets.

View cornradio's full-sized avatar
🌚
moonnnnnnn

Name cornradio

🌚
moonnnnnnn
View GitHub Profile
@cornradio
cornradio / gist:0bb1d71d895909130257135cf2afb6b7
Last active November 22, 2024 07:07
steamdeck_desktopmode.sh
#!/bin/bash
unset LD_PRELOAD
unset XDG_DESKTOP_PORTAL_DIR
unset XDG_SEAT_PATH
unset XDG_SESSION_PATH
RES=$(xdpyinfo | awk '/dimensions/{print $2}')
# Shadow kwin_wayland_wrapper so that we can pass args to kwin wrapper
# whilst being launched by plasma-session
@cornradio
cornradio / terraria_lbutton.ahk
Created February 2, 2023 03:03
ahk script for terraria mouse holidng and auto clicking
;shift + lbutton to trigger holding (auto mineing)
;click Lbutton again to stop
+LButton::Send, {LButton Down}
; click f5 to trigger rapid clicking (fight)
; click f6 to stop rapid clicking
stop_signal := False
F5::
stop_signal == False
Loop