Skip to content

Commit

Permalink
Update the readme to include CloseWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
HikariKnight committed Nov 16, 2021
1 parent 3d871da commit 13a344f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ Here is an example `hotkeys.ini` config
Modkeys=ctrl+alt
Hotkey=q

# HotkeyD has a built in function to close the active window
# However due to limitations in the Windows API the win key cannot be used alone as a modkey!
# The entry for this hotkey has to be named [CloseWindow]
[CloseWindow]
Modkeys=alt
Hotkey=q

# Example "open notepad" hotkey
[notepad]
Modkeys=ctrl+alt
Expand Down Expand Up @@ -93,4 +100,5 @@ go get github.com/MakeNowJust/hotkey
go get github.com/kardianos/osext
go get gopkg.in/ini.v1
go get tawesoft.co.uk/go/dialog
go get github.com/micmonay/keybd_event
```

0 comments on commit 13a344f

Please sign in to comment.