mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
Merge branch 'master' into reorg
This commit is contained in:
commit
f30ba8a02e
24 changed files with 1002 additions and 45 deletions
72
platforms/win/komorebi/komorebi.ahk
Normal file
72
platforms/win/komorebi/komorebi.ahk
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
; Use %KOMOREBI_CONFIG_HOME% Environment Variable to set the path to the config file
|
||||
#Requires AutoHotkey v2.0.2
|
||||
#SingleInstance Force
|
||||
|
||||
Komorebic(cmd) {
|
||||
RunWait(format("komorebic.exe {}", cmd), , "Hide")
|
||||
}
|
||||
|
||||
!q:: Komorebic("close")
|
||||
!m:: Komorebic("minimize")
|
||||
|
||||
; Focus windows
|
||||
#+h:: Komorebic("focus left")
|
||||
#+n:: Komorebic("focus down")
|
||||
#+e:: Komorebic("focus up")
|
||||
#+i:: Komorebic("focus right")
|
||||
|
||||
!+[:: Komorebic("cycle-focus previous")
|
||||
!+]:: Komorebic("cycle-focus next")
|
||||
|
||||
; Move windows
|
||||
!+h:: Komorebic("move left")
|
||||
!+j:: Komorebic("move down")
|
||||
!+k:: Komorebic("move up")
|
||||
!+l:: Komorebic("move right")
|
||||
|
||||
; Stack windows
|
||||
!Left:: Komorebic("stack left")
|
||||
!Down:: Komorebic("stack down")
|
||||
!Up:: Komorebic("stack up")
|
||||
!Right:: Komorebic("stack right")
|
||||
!;:: Komorebic("unstack")
|
||||
![:: Komorebic("cycle-stack previous")
|
||||
!]:: Komorebic("cycle-stack next")
|
||||
|
||||
; Resize
|
||||
!=:: Komorebic("resize-axis horizontal increase")
|
||||
!-:: Komorebic("resize-axis horizontal decrease")
|
||||
!+=:: Komorebic("resize-axis vertical increase")
|
||||
!+_:: Komorebic("resize-axis vertical decrease")
|
||||
|
||||
; Manipulate windows
|
||||
!t:: Komorebic("toggle-float")
|
||||
!f:: Komorebic("toggle-monocle")
|
||||
|
||||
; Window manager options
|
||||
!+r:: Komorebic("retile")
|
||||
!p:: Komorebic("toggle-pause")
|
||||
|
||||
; Layouts
|
||||
!x:: Komorebic("flip-layout horizontal")
|
||||
!y:: Komorebic("flip-layout vertical")
|
||||
|
||||
; Workspaces
|
||||
!1:: Komorebic("focus-workspace 0")
|
||||
!2:: Komorebic("focus-workspace 1")
|
||||
!3:: Komorebic("focus-workspace 2")
|
||||
!4:: Komorebic("focus-workspace 3")
|
||||
!5:: Komorebic("focus-workspace 4")
|
||||
!6:: Komorebic("focus-workspace 5")
|
||||
!7:: Komorebic("focus-workspace 6")
|
||||
!8:: Komorebic("focus-workspace 7")
|
||||
|
||||
; Move windows across workspaces
|
||||
!+1:: Komorebic("move-to-workspace 0")
|
||||
!+2:: Komorebic("move-to-workspace 1")
|
||||
!+3:: Komorebic("move-to-workspace 2")
|
||||
!+4:: Komorebic("move-to-workspace 3")
|
||||
!+5:: Komorebic("move-to-workspace 4")
|
||||
!+6:: Komorebic("move-to-workspace 5")
|
||||
!+7:: Komorebic("move-to-workspace 6")
|
||||
!+8:: Komorebic("move-to-workspace 7")
|
||||
Loading…
Add table
Add a link
Reference in a new issue