[BUG]: Live configuration changes are only applied partially #595

Open
opened 2026-01-05 14:51:50 +01:00 by adam · 1 comment
Owner

Originally created by @marcinkurek on GitHub (Apr 2, 2025).

I apologize if this is a duplicate issue, but at the time of writing, the github issue search simply wasn't working for me.

Summary

I have observed that when you update komorebi.json the configuration will be applied automatically, but only if you are changing a value, not when removing it.

For example, if I have border: false in my config and want to revert to the default value by removing it, the change will require a restart.

Version Information

komorebic 0.1.35
tag:v0.1.35
commit_hash:992bc2ab
build_time:2025-03-22 17:41:57 +00:00
build_env:rustc 1.85.1 (4eb161250 2025-03-15),stable-x86_64-pc-windows-msvc

Komorebi Configuration

# komorebi.json

{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.35/schema.json",
  "app_specific_configuration_path": "$Env:USERPROFILE/applications.json",
  "window_hiding_behaviour": "Cloak",
  "cross_monitor_move_behaviour": "Insert",
  "default_workspace_padding": 20,
  "default_container_padding": 20,
  "border": false,
  "theme": {
    "palette": "Base16",
    "name": "Windows10Light",
    "unfocused_border": "Base03",
    "bar_accent": "Base0C"
  },
  "stackbar": {
    "height": 40,
    "mode": "OnStack",
    "tabs": {
      "width": 300
    }
  },
  "monitors": [
    {
      "workspaces": [
        {
          "name": "I",
          "layout": "UltrawideVerticalStack"
        }
      ],
      "window_based_work_area_limit": 1,
      "window_based_work_area_offset": {
        "bottom": 0,
        "left": 850,
        "right": 1700,
        "top": 0
      }
    }
  ],
  "ignore_rules": [
    {
      "kind": "Exe",
      "id": "Microsoft.CmdPal.UI.exe",
      "matching_strategy": "Equals"
    }
  ],
  "mouse_follows_focus": false
}


# komorebi.bar.json

{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.35/schema.bar.json",
  "monitor": 0,
  "font_family": "JetBrains Mono",
  "theme": {
    "palette": "Base16",
    "name": "Windows10Light",
    "accent": "Base0C"
  },
  "left_widgets": [
    {
      "Komorebi": {
        "workspaces": {
          "enable": true,
          "hide_empty_workspaces": false
        },
        "layout": {
          "enable": true
        },
        "focused_window": {
          "enable": true,
          "show_icon": true
        }
      }
    }
  ],
  "right_widgets": [
    {
      "Update": {
        "enable": true
      }
    },
    {
      "Media": {
        "enable": true
      }
    },
    {
      "Storage": {
        "enable": true
      }
    },
    {
      "Memory": {
        "enable": true
      }
    },
    {
      "Network": {
        "enable": true,
        "show_total_data_transmitted": true,
        "show_network_activity": true
      }
    }
  ],
  "height": 32
}

Hotkey Configuration

None

Output of komorebic check

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

Looking for configuration files in C:\Users\Marcin

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

Found C:\Users\Marcin.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 @marcinkurek on GitHub (Apr 2, 2025). I apologize if this is a duplicate issue, but at the time of writing, the github issue search simply wasn't working for me. ### Summary I have observed that when you update `komorebi.json` the configuration will be applied automatically, but only if you are changing a value, not when _removing_ it. For example, if I have `border: false` in my config and want to revert to the default value by removing it, the change will require a restart. ### Version Information komorebic 0.1.35 tag:v0.1.35 commit_hash:992bc2ab build_time:2025-03-22 17:41:57 +00:00 build_env:rustc 1.85.1 (4eb161250 2025-03-15),stable-x86_64-pc-windows-msvc ### Komorebi Configuration ```json # komorebi.json { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.35/schema.json", "app_specific_configuration_path": "$Env:USERPROFILE/applications.json", "window_hiding_behaviour": "Cloak", "cross_monitor_move_behaviour": "Insert", "default_workspace_padding": 20, "default_container_padding": 20, "border": false, "theme": { "palette": "Base16", "name": "Windows10Light", "unfocused_border": "Base03", "bar_accent": "Base0C" }, "stackbar": { "height": 40, "mode": "OnStack", "tabs": { "width": 300 } }, "monitors": [ { "workspaces": [ { "name": "I", "layout": "UltrawideVerticalStack" } ], "window_based_work_area_limit": 1, "window_based_work_area_offset": { "bottom": 0, "left": 850, "right": 1700, "top": 0 } } ], "ignore_rules": [ { "kind": "Exe", "id": "Microsoft.CmdPal.UI.exe", "matching_strategy": "Equals" } ], "mouse_follows_focus": false } # komorebi.bar.json { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.35/schema.bar.json", "monitor": 0, "font_family": "JetBrains Mono", "theme": { "palette": "Base16", "name": "Windows10Light", "accent": "Base0C" }, "left_widgets": [ { "Komorebi": { "workspaces": { "enable": true, "hide_empty_workspaces": false }, "layout": { "enable": true }, "focused_window": { "enable": true, "show_icon": true } } } ], "right_widgets": [ { "Update": { "enable": true } }, { "Media": { "enable": true } }, { "Storage": { "enable": true } }, { "Memory": { "enable": true } }, { "Network": { "enable": true, "show_total_data_transmitted": true, "show_network_activity": true } } ], "height": 32 } ``` ### Hotkey Configuration None ### Output of komorebic check No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\Marcin Looking for configuration files in C:\Users\Marcin Found komorebi.json; this file can be passed to the start command with the --config flag Found C:\Users\Marcin\.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:51:50 +01:00
Author
Owner

@LGUG2Z commented on GitHub (Apr 2, 2025):

For example, if I have border: false in my config and want to revert to the default value by removing it, the change will require a restart.

For this specific one you can hit the shortcut for komorebic retile I think 🤔

@LGUG2Z commented on GitHub (Apr 2, 2025): > For example, if I have border: false in my config and want to revert to the default value by removing it, the change will require a restart. For this specific one you can hit the shortcut for `komorebic retile` I think 🤔
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#595