Skip to content

Instantly share code, notes, and snippets.

@chand1012
Last active May 17, 2019 12:02
Show Gist options
  • Save chand1012/77554ad29dd7e5f3616a11811c15600c to your computer and use it in GitHub Desktop.
Save chand1012/77554ad29dd7e5f3616a11811c15600c to your computer and use it in GitHub Desktop.
desktop:=1
<^<!b::
Run, cmd
return
<^<!t::
run, git-bash.exe
return
; on the mx master, mouse 5 (xbutton2) is the top button. Mouse 4 is the bottom (xbutton1)
^XButton2::
if (desktop<5){
desktop:=desktop + 1
send ^!{F%desktop%}
}
return
^XButton1::
if (desktop>0){
desktop:=desktop - 1
send ^!{F%desktop%}
}
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment