[BUG]: border not visible with cli commands #452

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

Originally created by @okayno14 on GitHub (Aug 24, 2024).

On version 0.1.22 i got komorebi.ps1 entries and all borders got visible:

komorebic active-window-border-width 5
komorebic active-window-border-offset 0
komorebic active-window-border-colour 66 165 245 --window-kind single
komorebic active-window-border-colour 256 165 66 --window-kind stack
komorebic active-window-border-colour 255 51 153 --window-kind monocle
komorebic active-window-border enable

After update on 0.1.28 i changed script to:

komorebic border enable
komorebic border-colour 66 165 245 --window-kind single
komorebic border-colour 256 165 66 --window-kind stack
komorebic border-colour 255 51 153 --window-kind monocle
komorebic border-width 5
komorebic border-offset 0

And borders are missed. Current global state:

  "border_enabled": true,
  "border_colours": {
    "single": {
      "r": 66,
      "g": 165,
      "b": 245
    },
    "stack": {
      "r": 0,
      "g": 165,
      "b": 66
    },
    "monocle": {
      "r": 255,
      "g": 51,
      "b": 153
    },
    "unfocused": {
      "r": 128,
      "g": 128,
      "b": 128
    }
  },
  "border_style": "System",
  "border_offset": 0,
  "border_width": 5,

The only way to fix is start with komorebi.json.

Originally created by @okayno14 on GitHub (Aug 24, 2024). On version 0.1.22 i got komorebi.ps1 entries and all borders got visible: ```powershell komorebic active-window-border-width 5 komorebic active-window-border-offset 0 komorebic active-window-border-colour 66 165 245 --window-kind single komorebic active-window-border-colour 256 165 66 --window-kind stack komorebic active-window-border-colour 255 51 153 --window-kind monocle komorebic active-window-border enable ``` After update on 0.1.28 i changed script to: ```powershell komorebic border enable komorebic border-colour 66 165 245 --window-kind single komorebic border-colour 256 165 66 --window-kind stack komorebic border-colour 255 51 153 --window-kind monocle komorebic border-width 5 komorebic border-offset 0 ``` And borders are missed. Current global state: ```json "border_enabled": true, "border_colours": { "single": { "r": 66, "g": 165, "b": 245 }, "stack": { "r": 0, "g": 165, "b": 66 }, "monocle": { "r": 255, "g": 51, "b": 153 }, "unfocused": { "r": 128, "g": 128, "b": 128 } }, "border_style": "System", "border_offset": 0, "border_width": 5, ``` The only way to fix is start with komorebi.json.
adam added the bug label 2026-01-05 14:50:49 +01:00
adam closed this issue 2026-01-05 14:50:49 +01:00
Author
Owner

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

There aren't going to be any more fixes for the ps1 configuration format at this point - it is strongly encouraged to migrate to the JSON format, and if any configuration options are missing, please open a bug issue to get them added.

@LGUG2Z commented on GitHub (Jan 23, 2025): There aren't going to be any more fixes for the `ps1` configuration format at this point - it is strongly encouraged to migrate to the JSON format, and if any configuration options are missing, please open a bug issue to get them added.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#452