aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-04-14 22:57:51 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-04-14 22:57:51 +0200
commit54a48fd17e1d776d42ac4af36cc11365a9afbdc4 (patch)
treeebab11567f37cc0f125da5199603cd685533cf44
parente5c7eadccfe4dea5b377790b8240ecc7948fd4fa (diff)
downloadahk-54a48fd17e1d776d42ac4af36cc11365a9afbdc4.tar.gz
scripts: Add show/hide desktop hotkeys
-rw-r--r--scripts.ahk5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts.ahk b/scripts.ahk
index 608e678..04ab117 100644
--- a/scripts.ahk
+++ b/scripts.ahk
@@ -49,6 +49,11 @@ return
#ScrollLock::Media_Play_Pause
#Pause::Media_Next
+#If !DisableHotkeys
+#d::#m
+#+d::#+m
+#If
+
*~^PrintScreen::
Run, "C:\Program Files\ImageMagick\magick.exe" clipboard: scr.jpg, % env("TEMP"), Hide
Sleep, 200