[BUG]: Komorebi Bar Absent #591

Closed
opened 2026-01-05 14:51:47 +01:00 by adam · 8 comments
Owner

Originally created by @saintkatsu on GitHub (Mar 23, 2025).

Summary

The komorebi bar disappeared after I updated to the latest version.

Version Information

v0.1.35

Komorebi Configuration

komorebi.bar.json
{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.34/schema.bar.json",
  "monitor": 0,
  "font_family": "JetBrains Mono",
  "theme": {
    "palette": "Base16",
    "name": "TokyoNightDark",
    "accent": "Base0D"
  },
  "grouping": {
    "kind": "None"
  },
  "widget_spacing": 2.0,
  "transparency_alpha": 0,
  "style": {
    "type": "DefaultWithGlowB3O1S2"
  },
  "left_widgets": [
    {
      "Komorebi": {
        "workspaces": {
          "enable": true,
          "hide_empty_workspaces": true
        },
        "layout": {
          "enable": true
        },
        "focused_window": {
          "enable": true,
          "display": "IconAndText"
        },
        "workspace_layer": {
          "display": "IconAndText"
        }
      }
    }
  ],
  "right_widgets": [
    {
      "Update": {
        "enable": true
      }
    },
    {
      "Media": {
        "enable": false
      }
    },
    {
      "Storage": {
        "enable": false
      }
    },
    {
      "Memory": {
        "enable": true,
        "label_prefix": "Icon"
      }
    },
    {
      "Network": {
        "enable": true,
        "show_total_data_transmitted": false,
        "show_network_activity": true,
        "show_default_interface": false
      }
    },
    {
      "Date": {
        "enable": true,
        "format": "MonthDateYear",
        "label_prefix": "None"
      }
    },
    {
      "Battery": {
        "enable": true,
        "label_prefix": "None"
      }
    }
  ],
  "center_widgets": [
    {
      "Time": {
        "enable": true,
        "format": "TwelveHourWithoutSeconds",
        "label_prefix": "None"
      }
    }
  ]
}

komorebi.json
{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.34/schema.json",
  "app_specific_configuration_path": "$Env:USERPROFILE/applications.json",
  "window_hiding_behaviour": "Cloak",
  "cross_monitor_move_behaviour": "Insert",
  "default_workspace_padding": 0,
  "default_container_padding": 1,
  "focus_follows_mouse": "Windows",
  "border": true,
  "border_width": 3,
  "border_offset": -1,
  "mouse_follows_focus": false,
  "transparency": true,
  "theme": {
    "palette": "Base16",
    "name": "TokyoNightDark",
    "unfocused_border": "Base03",
    "bar_accent": "Base0D"
  },
  "stackbar": {
    "height": 40,
    "mode": "OnStack",
    "tabs": {
      "width": 300
    }
  },
  "monitors": [
    {
      "workspaces": [
        {
          "name": "1",
          "layout": "BSP"
        },
        {
          "name": "2",
          "layout": "VerticalStack",
          "workspace_rules": [
            {
              "kind": "Exe",
              "id": "Discord.exe"
            }
          ]
        },
        {
          "name": "3",
          "layout": "HorizontalStack",
          "workspace_rules": [
            {
              "kind": "Exe",
              "id": "WindowsTerminal.exe"
            },
            {
              "kind": "Exe",
              "id": "brave.exe"
            }
          ]
        },
        {
          "name": "4",
          "layout": "UltrawideVerticalStack"
        },
        {
          "name": "5",
          "layout": "Rows"
        },
        {
          "name": "6",
          "layout": "Grid"
        },
        {
          "name": "7",
          "layout": "RightMainVerticalStack"
        }
      ]
    }
  ]
}

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

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 + w : 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 + u : komorebic flip-layout horizontal
alt + v : komorebic flip-layout vertical

Workspaces

ctrl + 1 : komorebic focus-workspace 0
ctrl + 2 : komorebic focus-workspace 1
ctrl + 3 : komorebic focus-workspace 2
ctrl + 4 : komorebic focus-workspace 3
ctrl + 5 : komorebic focus-workspace 4
ctrl + 6 : komorebic focus-workspace 5
ctrl + 7 : komorebic focus-workspace 6
ctrl + 8 : komorebic focus-workspace 7

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 + 9 : komorebic cycle-layout previous
alt + 0 : komorebic cycle-layout next

Output of komorebic check

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

Looking for configuration files in C:\Users\prana

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

"focus_follows_mouse" is now end-of-life

End-of-life features will not receive any further bug fixes or updates; they should not be used

Found C:\Users\prana.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 @saintkatsu on GitHub (Mar 23, 2025). ### Summary The komorebi bar disappeared after I updated to the latest version. ### Version Information v0.1.35 ### Komorebi Configuration ```json komorebi.bar.json { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.34/schema.bar.json", "monitor": 0, "font_family": "JetBrains Mono", "theme": { "palette": "Base16", "name": "TokyoNightDark", "accent": "Base0D" }, "grouping": { "kind": "None" }, "widget_spacing": 2.0, "transparency_alpha": 0, "style": { "type": "DefaultWithGlowB3O1S2" }, "left_widgets": [ { "Komorebi": { "workspaces": { "enable": true, "hide_empty_workspaces": true }, "layout": { "enable": true }, "focused_window": { "enable": true, "display": "IconAndText" }, "workspace_layer": { "display": "IconAndText" } } } ], "right_widgets": [ { "Update": { "enable": true } }, { "Media": { "enable": false } }, { "Storage": { "enable": false } }, { "Memory": { "enable": true, "label_prefix": "Icon" } }, { "Network": { "enable": true, "show_total_data_transmitted": false, "show_network_activity": true, "show_default_interface": false } }, { "Date": { "enable": true, "format": "MonthDateYear", "label_prefix": "None" } }, { "Battery": { "enable": true, "label_prefix": "None" } } ], "center_widgets": [ { "Time": { "enable": true, "format": "TwelveHourWithoutSeconds", "label_prefix": "None" } } ] } komorebi.json { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.34/schema.json", "app_specific_configuration_path": "$Env:USERPROFILE/applications.json", "window_hiding_behaviour": "Cloak", "cross_monitor_move_behaviour": "Insert", "default_workspace_padding": 0, "default_container_padding": 1, "focus_follows_mouse": "Windows", "border": true, "border_width": 3, "border_offset": -1, "mouse_follows_focus": false, "transparency": true, "theme": { "palette": "Base16", "name": "TokyoNightDark", "unfocused_border": "Base03", "bar_accent": "Base0D" }, "stackbar": { "height": 40, "mode": "OnStack", "tabs": { "width": 300 } }, "monitors": [ { "workspaces": [ { "name": "1", "layout": "BSP" }, { "name": "2", "layout": "VerticalStack", "workspace_rules": [ { "kind": "Exe", "id": "Discord.exe" } ] }, { "name": "3", "layout": "HorizontalStack", "workspace_rules": [ { "kind": "Exe", "id": "WindowsTerminal.exe" }, { "kind": "Exe", "id": "brave.exe" } ] }, { "name": "4", "layout": "UltrawideVerticalStack" }, { "name": "5", "layout": "Rows" }, { "name": "6", "layout": "Grid" }, { "name": "7", "layout": "RightMainVerticalStack" } ] } ] } ``` ### 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 # 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 + w : 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 + u : komorebic flip-layout horizontal alt + v : komorebic flip-layout vertical # Workspaces ctrl + 1 : komorebic focus-workspace 0 ctrl + 2 : komorebic focus-workspace 1 ctrl + 3 : komorebic focus-workspace 2 ctrl + 4 : komorebic focus-workspace 3 ctrl + 5 : komorebic focus-workspace 4 ctrl + 6 : komorebic focus-workspace 5 ctrl + 7 : komorebic focus-workspace 6 ctrl + 8 : komorebic focus-workspace 7 # 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 + 9 : komorebic cycle-layout previous alt + 0 : komorebic cycle-layout next ### Output of komorebic check No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\prana Looking for configuration files in C:\Users\prana Found komorebi.json; this file can be passed to the start command with the --config flag "focus_follows_mouse" is now end-of-life End-of-life features will not receive any further bug fixes or updates; they should not be used Found C:\Users\prana\.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 bugcannot-reproduce labels 2026-01-05 14:51:47 +01:00
adam closed this issue 2026-01-05 14:51:47 +01:00
Author
Owner

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

Which command are you using to launch komorebi and the bar?

@LGUG2Z commented on GitHub (Mar 23, 2025): Which command are you using to launch komorebi and the bar?
Author
Owner

@saintkatsu commented on GitHub (Mar 23, 2025):

komorebic start --bar --whkd

@saintkatsu commented on GitHub (Mar 23, 2025): komorebic start --bar --whkd
Author
Owner

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

Can you share the output if you try to launch komorebi-bar.exe directly on a terminal?

@LGUG2Z commented on GitHub (Mar 23, 2025): Can you share the output if you try to launch `komorebi-bar.exe` directly on a terminal?
Author
Owner

@saintkatsu commented on GitHub (Mar 23, 2025):

2025-03-23T17:02:01.449405Z INFO komorebi_bar: found configuration file: C:\Users\prana\komorebi.bar.json
Error:
0: missing field enable at line 34 column 9

Location:
komorebi-bar\src\config.rs:332

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1: BaseThreadInitThunk
at :
2: RtlUserThreadStart
at :

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.

@saintkatsu commented on GitHub (Mar 23, 2025): 2025-03-23T17:02:01.449405Z INFO komorebi_bar: found configuration file: C:\Users\prana\komorebi.bar.json Error: 0: missing field `enable` at line 34 column 9 Location: komorebi-bar\src\config.rs:332 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1: BaseThreadInitThunk<unknown> at <unknown source file>:<unknown line> 2: RtlUserThreadStart<unknown> at <unknown source file>:<unknown line> Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering. Run with RUST_BACKTRACE=full to include source snippets.
Author
Owner

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

@CtByte did we unintentionally introduce a backwards compatibility regression here? 🤔

@LGUG2Z commented on GitHub (Mar 23, 2025): @CtByte did we unintentionally introduce a backwards compatibility regression here? 🤔
Author
Owner

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

Actually @saintkatsu from looking at the config this appears to be user error on your part. You have added a new config option incorrectly.

The workspace layer subwidget had a mandatory "enable" field: https://komorebi-bar.lgug2z.com/schema#left_widgets_items_oneOf_i4_Komorebi_workspace_layer_enable

Please make sure you share the full context when opening issues like this - ie. if you have made changes. These kinds of inaccurate bug reports unfortunately reduce confidence in the software for others.

The bar did not "disappear when you updated" - it disappeared after you changed the configuration in a way that does not conform to the published schema.

@LGUG2Z commented on GitHub (Mar 23, 2025): Actually @saintkatsu from looking at the config this appears to be user error on your part. You have added a new config option incorrectly. The workspace layer subwidget had a mandatory "enable" field: https://komorebi-bar.lgug2z.com/schema#left_widgets_items_oneOf_i4_Komorebi_workspace_layer_enable Please make sure you share the full context when opening issues like this - ie. if you have made changes. These kinds of inaccurate bug reports unfortunately reduce confidence in the software for others. The bar did not "disappear when you updated" - it disappeared after you changed the configuration in a way that does not conform to the published schema.
Author
Owner

@saintkatsu commented on GitHub (Mar 23, 2025):

When I uninstalled the newer version and went back to the previous version, the bar was working.

@saintkatsu commented on GitHub (Mar 23, 2025): When I uninstalled the newer version and went back to the previous version, the bar was working.
Author
Owner

@saintkatsu commented on GitHub (Mar 23, 2025):

Thank you for the help, I seemed to be checking the komorebi.json instead of komorebi.bar.json. IDK how it was working on the older version. Sorry for raising the irrelevant issue.

@saintkatsu commented on GitHub (Mar 23, 2025): Thank you for the help, I seemed to be checking the komorebi.json instead of komorebi.bar.json. IDK how it was working on the older version. Sorry for raising the irrelevant issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#591