-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.kbd
More file actions
46 lines (37 loc) · 1.46 KB
/
config.kbd
File metadata and controls
46 lines (37 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
;; =============================================================================
;; Global Configuration
;; =============================================================================
(defcfg
process-unmapped-keys yes
log-layer-changes no ;; yes
concurrent-tap-hold true
override-release-on-activation yes
movemouse-smooth-diagonals yes
danger-enable-cmd yes
rapid-event-delay 4
tray-icon "./assets/icons/base.png"
)
(defvar
;; Alternative timing presets
;; tap-time 300
;; hold-time 400
tap-time 150
hold-time 300
chord-time 600
tap-dance-time 300
)
;; Commands with args
(defvar
cmd-lock-station (cmd "rundll32.exe" user32.dll,LockWorkStation)
cmd-sleep (cmd "rundll32.exe" powrprof.dll,SetSuspendState 0,1,0)
cmd-monitor-off (cmd "nircmd.exe" cmdwait 2000 monitor off)
cmd-sublime-text (cmd "explorer.exe" "C:\Program Files\Sublime Text\sublime_text.exe")
cmd-qalculate (cmd "explorer.exe" "C:\Program Files\Qalculate\qalculate-qt.exe")
cmd-keepassxc (cmd "explorer.exe" "C:\Program Files\KeePassXC\KeePassXC.exe")
cmd-chrome (cmd "explorer.exe" "C:\Program Files\Google\Chrome\Application\chrome.exe")
cmd-onecommander (cmd "explorer.exe" "C:\Program Files\OneCommander\OneCommander.exe")
;; TODO: Open Obsidian vault and create a unique note in a new window.
cmd-obsidian-personal-vault (cmd powershell -Command 'Start-Process -FilePath "obsidian://open?vault=personal-vault"')
;; TODO: Unzip the current file.
cmd-unzip nop0
)