mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: Cmder will not enter into layout #699
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Thaddeus-Maximus on GitHub (Nov 7, 2025).
Summary
Just installed Komorebi. Working great other than this - cmder won't enter into the layout. Komorebi doesn't even seem to notice that the window has focus. See attached screenshot.
Version Information
λ systeminfo | findstr /B /C:"OS Name" /B /C:"OS Version"
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19045 N/A Build 19045
λ komorebic --version
komorebic 0.1.38
tag:v0.1.38
commit_hash:ffa76ea2
build_time:2025-09-13 18:40:25 +00:00
build_env:rustc 1.89.0 (29483883e 2025-08-04),stable-x86_64-pc-windows-msvc
Komorebi Configuration
Hotkey Configuration
.shell powershell
Reload whkd configuration
alt + o : taskkill /f /im whkd.exe && start /b whkd # if shell is cmd
alt + q : taskkill /f /im whkd.exe; Start-Process whkd -WindowStyle hidden # if shell is pwsh / powershell
alt + shift + o : komorebic reload-configuration
alt + i : komorebic toggle-shortcuts
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 }
alt + q : komorebic close
alt + m : komorebic minimize
Focus windows
alt + left : komorebic focus left
alt + down : komorebic focus down
alt + up : komorebic focus up
alt + right : 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 + left : komorebic move left
alt + shift + down : komorebic move down
alt + shift + up : komorebic move up
alt + shift + right : komorebic move right
alt + 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 + l : komorebic resize-axis horizontal increase
alt + h : 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
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
alt + 4 : komorebic focus-workspace 3
alt + 5 : komorebic focus-workspace 4
alt + 6 : komorebic focus-workspace 5
alt + 7 : komorebic focus-workspace 6
alt + 8 : komorebic focus-workspace 7
alt + 9 : komorebic focus-workspace 8
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
alt + shift + 4 : komorebic move-to-workspace 3
alt + shift + 5 : komorebic move-to-workspace 4
alt + shift + 6 : komorebic move-to-workspace 5
alt + shift + 7 : komorebic move-to-workspace 6
alt + shift + 8 : komorebic move-to-workspace 7
alt + shift + 9 : komorebic move-to-workspace 8
Output of komorebic check
λ komorebic check
No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\Thad
Looking for configuration files in C:\Users\Thad
Found komorebi.json; this file can be passed to the start command with the --config flag
Found C:\Users\Thad.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag
@Thaddeus-Maximus commented on GitHub (Nov 7, 2025):
FWIW - same with SOLIDWORKS
@Thaddeus-Maximus commented on GitHub (Nov 7, 2025):
As suggested in another issue, I tried running komorebi as admin - same behavior.
Happy to try anything as far as custom configs or rules, could just use some pointing in the right direction.
@CtByte commented on GitHub (Nov 7, 2025):
I am just guessing, but I know that some apps will not get managed if they are transparent (some discord client). What happens if you turn off transparency for cmder?
You can also check if the app is un-managed on purpose by using the
komorebi-guicommand and in the app you can see details under theDebuggingoption. Some apps just don't behave nicely when being managed, like Microsoft Teams.@Thaddeus-Maximus commented on GitHub (Nov 7, 2025):
For cmder:
For SOLIDWORKS:
@Thaddeus-Maximus commented on GitHub (Nov 7, 2025):
Turning off transparency does fix cmder! The new output is this for cmder:
There isn't such an option for SOLIDWORKS. That's an opaque app.
@CtByte commented on GitHub (Nov 7, 2025):
some apps need to be managed by telling Komorebi just that
perhaps that will work for solidworks, but again, be aware that not all apps behave nicely when managed, especially if they have a complex ui.
@Thaddeus-Maximus commented on GitHub (Nov 7, 2025):
Got it, we're managing now - but very buggy, as it technically is window-in-window, and sometimes opens additional dialogs. See the red circle here:
Do you have any good tips or places to start on doing more complex management?
@CtByte commented on GitHub (Nov 7, 2025):
you can use ignore or floating rules such as this (perhaps composite rules would make the most sense)
you can use the
komorebic visible-windowscommand to see what is being managed and come up with the rules. This might also be helpfulyou can look at my config for inspiration if you want (even thought it might look a bit messy 🙂 )
@CtByte commented on GitHub (Nov 7, 2025):
also if you come up with something you are happy with, perhaps you could consider to make a PR on this project so your solution could help others too 🙂