Skip to content

Instantly share code, notes, and snippets.

@kj-sh604
Last active January 27, 2026 19:13
Show Gist options
  • Select an option

  • Save kj-sh604/39404a7adc3f3f21f92dcc7413374cce to your computer and use it in GitHub Desktop.

Select an option

Save kj-sh604/39404a7adc3f3f21f92dcc7413374cce to your computer and use it in GitHub Desktop.
if I want some of the quirks of my Xfce4 config on Windows
#NoEnv
; Warn
SendMode Input
SetWorkingDir %A_ScriptDir%
Capslock::Esc
#q::Send !{F4}
#o::
Send, #+{Left}
return
+CapsLock::
{
if GetKeyState("CapsLock", "T")
SetCapsLockState, Off
else
SetCapsLockState, On
}
return
^!t::
Run, wt.exe
return
#+l::
DllCall("user32.dll\LockWorkStation")
return
+Space::Send, ^{Esc}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment