mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
Merge branch 'master' of github.com:js0ny/dotfiles
This commit is contained in:
commit
a7dfb2272c
27 changed files with 523 additions and 160 deletions
43
platforms/win/ahk/spcl.ahk
Normal file
43
platforms/win/ahk/spcl.ahk
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
#Requires AutoHotkey v2.0
|
||||
#SingleInstance Force
|
||||
|
||||
Space Up:: Send '{Space ' (A_PriorKey = 'Space' ? 1 : times) '}'
|
||||
Space:: global times := ''
|
||||
|
||||
#HotIf GetKeyState('Space', 'P')
|
||||
h::Left
|
||||
n::Down
|
||||
e::Up
|
||||
i::Right
|
||||
k::Home
|
||||
o::End
|
||||
[::PgUp
|
||||
]::PgDn
|
||||
1::F1
|
||||
2::F2
|
||||
3::F3
|
||||
4::F4
|
||||
5::F5
|
||||
6::F6
|
||||
7::F7
|
||||
8::F8
|
||||
9::F9
|
||||
0::F10
|
||||
-::F11
|
||||
=::F12
|
||||
+:: global times .= ThisHotkey
|
||||
#HotIf
|
||||
|
||||
Enter Up:: Send '{Enter ' (A_PriorKey = 'Enter' ? 1 : times) '}'
|
||||
Enter:: global times := ''
|
||||
|
||||
#HotIf GetKeyState('Enter', 'P')
|
||||
b:: {
|
||||
Run("vivaldi.exe")
|
||||
}
|
||||
t:: {
|
||||
Run("wezterm-gui.exe")
|
||||
}
|
||||
c:: {
|
||||
Run("code.exe")
|
||||
}
|
||||
10
platforms/win/start/KMonad.ps1
Normal file
10
platforms/win/start/KMonad.ps1
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
if (Get-Command "kmonad" -ErrorAction SilentlyContinue) {
|
||||
$KMonadPath = (Get-Command "kmonad").Source
|
||||
}
|
||||
else {
|
||||
$KMonadPath = "D:\bin\kmonad.exe"
|
||||
}
|
||||
|
||||
$KMonadConfig = "$Env:DOTFILES\tools\kmonad\windows.kbd"
|
||||
|
||||
Start-Process -FilePath $KMonadPath -ArgumentList $KMonadConfig -WindowStyle Hidden
|
||||
Loading…
Add table
Add a link
Reference in a new issue