mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-03-18 07:23:57 +01:00
65 lines
2.6 KiB
Plaintext
65 lines
2.6 KiB
Plaintext
.shell pwsh
|
|
|
|
# reload swhkd configuration
|
|
# alt + o : taskkill /f /im swhkd.exe && start /b swhkd # if shell is cmd
|
|
alt + o : taskkill /f /im swhkd.exe && Start-Process swhkd -WindowStyle hidden # if shell is pwsh / powershell
|
|
alt + shift + o : komorebic reload-configuration
|
|
|
|
# app shortcuts - these require shell to be pwsh / powershell
|
|
# the apps will be focused if open, or launched if not open
|
|
# alt + f : if ($wshell.AppActivate('Firefox') -eq $False) { start firefox }
|
|
# alt + b : if ($wshell.AppActivate('Chrome') -eq $False) { start chrome }
|
|
|
|
# focus windows
|
|
alt + h : komorebic focus left
|
|
alt + j : komorebic focus down
|
|
alt + k : komorebic focus up
|
|
alt + l : komorebic focus right
|
|
alt + shift + oem_4 : komorebic cycle-focus previous # oem_4 is [
|
|
alt + shift + oem_6 : komorebic cycle-focus next # oem_6 is ]
|
|
|
|
# move windows
|
|
alt + shift + h : komorebic move left
|
|
alt + shift + j : komorebic move down
|
|
alt + shift + k : komorebic move up
|
|
alt + shift + l : komorebic move right
|
|
alt + shift + return : komorebic promote
|
|
|
|
# stack windows
|
|
alt + left : komorebic stack left
|
|
alt + down : komorebic stack down
|
|
alt + up : komorebic stack up
|
|
alt + right : komorebic stack right
|
|
alt + oem_1 : komorebic unstack # oem_1 is ;
|
|
alt + oem_4 : komorebic cycle-stack previous # oem_4 is [
|
|
alt + oem_6 : komorebic cycle-stack next # oem_6 is ]
|
|
|
|
# resize
|
|
alt + oem_plus : komorebic resize-axis horizontal increase
|
|
alt + oem_minus : komorebic resize-axis horizontal decrease
|
|
alt + shift + oem_plus : komorebic resize-axis vertical increase
|
|
alt + shift + oem_minus : komorebic resize-axis vertical decrease
|
|
|
|
# manipulate windows
|
|
alt + t : komorebic toggle-float
|
|
alt + shift + f : komorebic toggle-monocle
|
|
|
|
# window manager options
|
|
alt + shift + r : komorebic retile
|
|
alt + p : komorebic toggle-pause
|
|
alt + 0 : komorebic toggle-focus-follows-mouse
|
|
|
|
# layouts
|
|
alt + x : komorebic flip-layout horizontal
|
|
alt + y : komorebic flip-layout vertical
|
|
|
|
# workspaces
|
|
alt + 1 : komorebic focus-workspace 0
|
|
alt + 2 : komorebic focus-workspace 1
|
|
alt + 3 : komorebic focus-workspace 2
|
|
|
|
# move windows across workspaces
|
|
alt + shift + 1 : komorebic move-to-workspace 0
|
|
alt + shift + 2 : komorebic move-to-workspace 1
|
|
alt + shift + 3 : komorebic move-to-workspace 2
|