[BUG]: Cycle Workspace not working via whkd #693

Closed
opened 2026-01-05 14:52:25 +01:00 by adam · 1 comment
Owner

Originally created by @hovrawl on GitHub (Oct 23, 2025).

Summary

Command for cycle workspace next or previous works fine in terminal, when bound via whkd it will never work.

Version Information

OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.26100 N/A Build 26100
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

{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.38/schema.json",
  "app_specific_configuration_path": "$Env:USERPROFILE/applications.json",
  "window_hiding_behaviour": "Cloak",
  "cross_monitor_move_behaviour": "Insert",
  "default_workspace_padding": 4,
  "default_container_padding": 4,
  "border": false,
  "border_width": 3,
  "border_offset": -1,
  "theme": {
    "palette": "Base16",
    "name": "Ashes",
    "unfocused_border": "Base03",
    "bar_accent": "Base0D"
  },
  "monitors": [
    {
      "workspaces": [
        {
          "name": "I",
          "layout": "RightMainVerticalStack"
        },
        {
          "name": "II",
          "layout": "HorizontalStack"
        },
        {
          "name": "III",
          "layout": "Columns"
        }
      ]
    }
  ]
}

Hotkey Configuration

.shell powershell

# Reload whkd configuration
# alt + o                 : taskkill /f /im whkd.exe && start /b whkd # if shell is cmd
alt + o                 : 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 + 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

# Layouts
alt + x                 : komorebic flip-layout horizontal
alt + y                 : komorebic flip-layout vertical

# Workspaces
lwin + 1                 : komorebic focus-workspace 0
lwin + 2                 : komorebic focus-workspace 1
lwin + 3                 : komorebic focus-workspace 2
lwin + 4                 : komorebic focus-workspace 3
lwin + 5                 : komorebic focus-workspace 4
lwin + 6                 : komorebic focus-workspace 5
lwin + 7                 : komorebic focus-workspace 6
lwin + 8                 : komorebic cycle-workspace next
shift + alt + left     : komorebic focus-workspace 0
shift + alt + right   : komorebic cycle-workspace next

# Move windows across workspaces
lwin + shift + 1         : komorebic move-to-workspace 0
lwin + shift + 2         : komorebic move-to-workspace 1
lwin + shift + 3         : komorebic move-to-workspace 2
lwin + shift + 4         : komorebic move-to-workspace 3
lwin + shift + 5         : komorebic move-to-workspace 4
lwin + shift + 6         : komorebic move-to-workspace 5
lwin + shift + 7         : komorebic move-to-workspace 6
lwin + shift + 8         : komorebic move-to-workspace 7

Output of komorebic check

No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\Nathan

Looking for configuration files in C:\Users\Nathan

Found komorebi.json; this file can be passed to the start command with the --config flag

Found C:\Users\Nathan.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag

Originally created by @hovrawl on GitHub (Oct 23, 2025). ### Summary Command for cycle workspace next or previous works fine in terminal, when bound via whkd it will never work. ### Version Information OS Name: Microsoft Windows 11 Pro OS Version: 10.0.26100 N/A Build 26100 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 ```json { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.38/schema.json", "app_specific_configuration_path": "$Env:USERPROFILE/applications.json", "window_hiding_behaviour": "Cloak", "cross_monitor_move_behaviour": "Insert", "default_workspace_padding": 4, "default_container_padding": 4, "border": false, "border_width": 3, "border_offset": -1, "theme": { "palette": "Base16", "name": "Ashes", "unfocused_border": "Base03", "bar_accent": "Base0D" }, "monitors": [ { "workspaces": [ { "name": "I", "layout": "RightMainVerticalStack" }, { "name": "II", "layout": "HorizontalStack" }, { "name": "III", "layout": "Columns" } ] } ] } ``` ### Hotkey Configuration ``` .shell powershell # Reload whkd configuration # alt + o : taskkill /f /im whkd.exe && start /b whkd # if shell is cmd alt + o : 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 + 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 # Layouts alt + x : komorebic flip-layout horizontal alt + y : komorebic flip-layout vertical # Workspaces lwin + 1 : komorebic focus-workspace 0 lwin + 2 : komorebic focus-workspace 1 lwin + 3 : komorebic focus-workspace 2 lwin + 4 : komorebic focus-workspace 3 lwin + 5 : komorebic focus-workspace 4 lwin + 6 : komorebic focus-workspace 5 lwin + 7 : komorebic focus-workspace 6 lwin + 8 : komorebic cycle-workspace next shift + alt + left : komorebic focus-workspace 0 shift + alt + right : komorebic cycle-workspace next # Move windows across workspaces lwin + shift + 1 : komorebic move-to-workspace 0 lwin + shift + 2 : komorebic move-to-workspace 1 lwin + shift + 3 : komorebic move-to-workspace 2 lwin + shift + 4 : komorebic move-to-workspace 3 lwin + shift + 5 : komorebic move-to-workspace 4 lwin + shift + 6 : komorebic move-to-workspace 5 lwin + shift + 7 : komorebic move-to-workspace 6 lwin + shift + 8 : komorebic move-to-workspace 7 ``` ### Output of komorebic check No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\Nathan Looking for configuration files in C:\Users\Nathan Found komorebi.json; this file can be passed to the start command with the --config flag Found C:\Users\Nathan\.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag
adam added the bug label 2026-01-05 14:52:25 +01:00
adam closed this issue 2026-01-05 14:52:25 +01:00
Author
Owner

@LGUG2Z commented on GitHub (Oct 23, 2025):

Clearly not a komorebi bug since the commands themselves are working; most likely either a syntax error in your hotkey configuration file or the hotkey file itself hasn't been reloaded

@LGUG2Z commented on GitHub (Oct 23, 2025): Clearly not a komorebi bug since the commands themselves are working; most likely either a syntax error in your hotkey configuration file or the hotkey file itself hasn't been reloaded
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#693