Skip to content

Instantly share code, notes, and snippets.

View sameerasw's full-sized avatar
💻
a chill guy

Sameera Sandakelum sameerasw

💻
a chill guy
View GitHub Profile
@sameerasw
sameerasw / easy_window_drag.ahk
Created December 30, 2023 20:05 — forked from Elijas/easy_window_drag.ahk
Easy Window Drag (KDE) - Allows to drag/resize windows by clicking and dragging mouse buttons while holding a modifier key. No more sniping the windows corners - just hovering the window becomes enough.
; Easy Window Dragging -- KDE style (requires XP/2k/NT) -- by Jonny
; http://www.autohotkey.com
; This script makes it much easier to move or resize a window: 1) Hold down
; the Win key and LEFT-click anywhere inside a window to drag it to a new
; location; 2) Hold down Win and RIGHT-click-drag anywhere inside a window
; to easily resize it; 3) Press Win twice, but before releasing it the second
; time, left-click to minimize the window under the mouse cursor, right-click
; to maximize it, or middle-click to close it.
; This script was inspired by and built on many like it