[BUG]: Apps starts on center #641

Open
opened 2026-01-05 14:52:08 +01:00 by adam · 0 comments
Owner

Originally created by @hakanct on GitHub (Jun 16, 2025).

Summary

New opened windows appears at center of screen.

Image

https://github.com/user-attachments/assets/bf7624aa-1f30-4bad-aa4f-1105e3060594

Version Information

Microsoft Windows 11 Home Single Language
10.0.22631 N/A Build 22631
0.1.37

Komorebi Configuration

komorebi.json:
{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.37/schema.json",
  "app_specific_configuration_path": "$Env:KOMOREBI_CONFIG_HOME\\applications.json",
  "animation": {
    "duration": 300,
    "style": "EaseOutSine",
    "fps": 144,
    "enabled": true
  },
  "border": true,
  "border_colours": {
    "stack": "#5e81ac",
    "unfocused": "#4c566a",
    "single": "#81a1c1",
    "monocle": "#8fbcbb"
  },
  "border_implementation": "Komorebi",
  "border_offset": -1,
  "border_style": "System",
  "border_width": 5,
  "cross_monitor_move_behaviour": "Insert",
  "default_container_padding": 6,
  "default_workspace_padding": 6,
  "float_override": false,
  "global_work_area_offset": {
    "right": 0,
    "bottom": 0,
    "left": 0,
    "top": 0
  },
  "mouse_follows_focus": false,
  "stackbar": {
    "enable": true,
    "height": 25,
    "tabs": {
      "unfocused_text": "#4c566a",
      "width": 200,
      "background": "#2e3440",
      "font_family": "JetBrains Mono",
      "font_size": 16,
      "focused_text": "#eceff4"
    },
    "mode": "OnStack",
    "label": "Process",
    "label_prefix": "None",
    "label_suffix": "None"
  },
  "transparency": true,
  "transparency_alpha": 225,
  "window_hiding_behaviour": "Cloak",
  "bar_configurations": [
    "$Env:KOMOREBI_CONFIG_HOME\\ultragear.bar.json",
    "$Env:KOMOREBI_CONFIG_HOME\\laptop.bar.json"
  ],
  "display_index_preferences": {
    "0": "306NTDV73514",
    "1": "0"
  },
  "monitors": [
    {
      "workspaces": [
        {
          "name": "I",
          "layout": "Grid"
        },
        {
          "name": "II",
          "layout": "Grid"
        },
        {
          "name": "III",
          "layout": "Grid"
        },
        {
          "name": "IV",
          "layout": "VerticalStack"
        },
        {
          "name": "V",
          "layout": "HorizontalStack"
        }
      ]
    },
    {
      "workspaces": [
        {
          "name": "1",
          "layout": "Grid"
        },
        {
          "name": "2",
          "layout": "Grid"
        },
        {
          "name": "3",
          "layout": "Grid"
        },
        {
          "name": "4",
          "layout": "VerticalStack"
        },
        {
          "name": "5",
          "layout": "HorizontalStack"
        }
      ]
    }
  ],
  "floating": [
    {
      "kind": "Title",
      "id": "MAMP",
      "matching_strategy": "Equals",
      "floating": true
    }
  ]
}

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 + b                 : if ($wshell.AppActivate('Brave') -eq $False) { start brave }
alt + z                 : if ($wshell.AppActivate('Zen') -eq $False) { start zen }

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 + shift + 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

# 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

Output of komorebic check

KOMOREBI_CONFIG_HOME detected: C:\Users\tonog\.config\komorebi

Looking for configuration files in C:\Users\tonog\.config\komorebi

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

Found C:\Users\tonog\.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 @hakanct on GitHub (Jun 16, 2025). ### Summary New opened windows appears at center of screen. ![Image](https://github.com/user-attachments/assets/2e798524-56ff-4396-9016-cc9e80fd2bbe) https://github.com/user-attachments/assets/bf7624aa-1f30-4bad-aa4f-1105e3060594 ### Version Information Microsoft Windows 11 Home Single Language 10.0.22631 N/A Build 22631 0.1.37 ### Komorebi Configuration ```json komorebi.json: { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.37/schema.json", "app_specific_configuration_path": "$Env:KOMOREBI_CONFIG_HOME\\applications.json", "animation": { "duration": 300, "style": "EaseOutSine", "fps": 144, "enabled": true }, "border": true, "border_colours": { "stack": "#5e81ac", "unfocused": "#4c566a", "single": "#81a1c1", "monocle": "#8fbcbb" }, "border_implementation": "Komorebi", "border_offset": -1, "border_style": "System", "border_width": 5, "cross_monitor_move_behaviour": "Insert", "default_container_padding": 6, "default_workspace_padding": 6, "float_override": false, "global_work_area_offset": { "right": 0, "bottom": 0, "left": 0, "top": 0 }, "mouse_follows_focus": false, "stackbar": { "enable": true, "height": 25, "tabs": { "unfocused_text": "#4c566a", "width": 200, "background": "#2e3440", "font_family": "JetBrains Mono", "font_size": 16, "focused_text": "#eceff4" }, "mode": "OnStack", "label": "Process", "label_prefix": "None", "label_suffix": "None" }, "transparency": true, "transparency_alpha": 225, "window_hiding_behaviour": "Cloak", "bar_configurations": [ "$Env:KOMOREBI_CONFIG_HOME\\ultragear.bar.json", "$Env:KOMOREBI_CONFIG_HOME\\laptop.bar.json" ], "display_index_preferences": { "0": "306NTDV73514", "1": "0" }, "monitors": [ { "workspaces": [ { "name": "I", "layout": "Grid" }, { "name": "II", "layout": "Grid" }, { "name": "III", "layout": "Grid" }, { "name": "IV", "layout": "VerticalStack" }, { "name": "V", "layout": "HorizontalStack" } ] }, { "workspaces": [ { "name": "1", "layout": "Grid" }, { "name": "2", "layout": "Grid" }, { "name": "3", "layout": "Grid" }, { "name": "4", "layout": "VerticalStack" }, { "name": "5", "layout": "HorizontalStack" } ] } ], "floating": [ { "kind": "Title", "id": "MAMP", "matching_strategy": "Equals", "floating": true } ] } ``` ### 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 + b : if ($wshell.AppActivate('Brave') -eq $False) { start brave } alt + z : if ($wshell.AppActivate('Zen') -eq $False) { start zen } 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 + shift + 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 # 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 ``` ### Output of komorebic check ``` KOMOREBI_CONFIG_HOME detected: C:\Users\tonog\.config\komorebi Looking for configuration files in C:\Users\tonog\.config\komorebi Found komorebi.json; this file can be passed to the start command with the --config flag Found C:\Users\tonog\.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:08 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#641