[BUG]: Incompatibility with BetterDiscord transparent theme #569

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

Originally created by @winchestercanal on GitHub (Jan 27, 2025).

Summary

I like to use the BetterDiscord plugin to add features to my discord, like zooming on images, translating messages, and themes!
It turns out that when enabling the transparent themes option, Komorebi can no longer see Discord, preventing window management!

BetterDiscord: https://betterdiscord.app

Image

Image with English translation, to facilitate understanding!
Image

Version Information

Windows 11 24h2
komorebi 0.1.33

Komorebi Configuration

{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.32/schema.json",
  "app_specific_configuration_path": "$Env:USERPROFILE/applications.json",
  "animation": {
    "fps": 60,
    "style": "EaseInOutExpo",
    "duration": 250,
    "enabled": false
  },
  "border": false,
  "border_colours": {
    "unfocused": "#ffffff",
    "single": "#ffffff",
    "monocle": "#ffffff",
    "stack": "#ffffff"
  },
  "border_implementation": "Komorebi",
  "border_offset": -1,
  "border_style": "System",
  "border_width": 0,
  "cross_monitor_move_behaviour": "Insert",
  "default_container_padding": 5,
  "default_workspace_padding": 5,
  "float_override": false,
  "global_work_area_offset": {
    "left": 0,
    "right": 0,
    "top": 0,
    "bottom": 0
  },
  "mouse_follows_focus": false,
  "stackbar": {
    "tabs": {
      "unfocused_text": "#ffffff",
      "font_size": 0,
      "background": "#ffffff",
      "width": 300,
      "font_family": "Segoe UI",
      "focused_text": "#ffffff"
    },
    "height": 40,
    "label": "Process",
    "mode": "OnStack"
  },
  "transparency": false,
  "transparency_alpha": 225,
  "unmanaged_window_operation_behaviour": "Op",
  "window_container_behaviour": "Create",
  "window_hiding_behaviour": "Cloak",
  "display_index_preferences": {
    "0": "GSM0001-5&27eed4c6&0&UID4352",
    "1": "GWD2160-5&27eed4c6&0&UID4356",
    "2": "RTD0000-5&27eed4c6&0&UID4354"
  },
  "monitors": [
    {
      "window_based_work_area_offset_limit": 3,
      "window_based_work_area_offset": {
        "left": 400,
        "top": 300,
        "right": 900,
        "bottom": 400
      },
      "workspaces": [
        {
          "name": "I",
          "layout": "UltrawideVerticalStack"
        },

        {
          "name": "II",
          "initial_workspace_rules": [
          { 
            "kind" : "Class",
            "id": "Premiere Pro"
          },
          {
            "kind": "Title",
            "matching_strategy": "Contains",
            "id": "Adobe After Effects"
          },
          {
            "kind": "Class",
            "id": "Photoshop"
          },
          {
            "kind": "Class",
            "id": "Illustrator"
          }
          ]
        },
        {
          "name": "III",
          "layout": "HorizontalStack"
        },
        {
          "name": "IV",
          "layout": "UltrawideVerticalStack"
        },
        {
          "name": "V",
          "layout": "Rows"
        },
        {
          "name": "VI",
          "layout": "Grid"
        },
        {
          "name": "VII",
          "layout": "RightMainVerticalStack"
        }
      ]
    },
    {
      "workspaces": [
        {
          "name": "1",
          "layout": "Grid"
        }
      ]
    },
    {
      "workspaces": [
        {
          "name": "1",
          "layout": "Rows"
        }
      ]
    }
  ],
  "ignore_rules": [
    {
      "kind": "Title",
      "matching_strategy": "Contains",
      "id": "Install"
    },
    {
      "kind": "Title",
      "matching_strategy": "Equals",
      "id": "WHKD Keybinds"
    },
    {
      "kind": "Class",
      "matching_strategy": "Equals",
      "id": "Qt663QWindowToolSaveBits"
    },
    {
      "kind": "Title",
      "matching_strategy": "Contains",
      "id": "SceneTree"
    },
    {
      "kind": "Title",
      "matching_strategy": "Contains",
      "id": "setup"
    },
    {
      "kind": "Title",
      "matching_strategy": "Contains",
      "id": "VMware"
    },
    {
      "kind": "Exe",
      "matching_strategy": "Equals",
      "id": "Photoshop.exe"
    },
    {
      "kind": "Exe",
      "matching_strategy": "Equals",
      "id": "Writing Tools.exe"
    },
    {
      "kind": "Exe",
      "matching_strategy": "Equals",
      "id": "ChatGPT.exe"
    },
    {
      "kind": "Exe",
      "matching_strategy": "Equals",
      "id": "CopilotNative.exe"
    },
    {
      "kind": "Exe",
      "matching_strategy": "Contains",
      "id": "PowerToys."
    },
    {
      "kind": "Exe",
      "matching_strategy": "Equals",
      "id": "Bitwarden.exe"
    }
  ],
  "floating_applications": [
    {
      "kind": "Class",
      "id": "Premiere Pro"
    },
    {
      "kind": "Title",
      "matching_strategy": "Contains",
      "id": "Adobe After Effects"
    },
    {
      "kind": "Class",
      "id": "Photoshop"
    }
  ]
}

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 + q : komorebic close
alt + m : komorebic minimize

Focus windows

alt + j : komorebic focus left
alt + k : komorebic focus down
alt + i : komorebic focus up
alt + l : komorebic focus right
alt + shift + 9 : komorebic cycle-focus previous # oem_4 is [
alt + shift + 0 : komorebic cycle-focus next # oem_6 is ]

Move windows

alt + ctrl + j : komorebic move left
alt + ctrl + k : komorebic move down
alt + ctrl + i : komorebic move up
alt + ctrl + l : komorebic move right
alt + t : komorebic promote

Stack windows

alt + a : komorebic stack left
alt + s : komorebic stack down
alt + w : komorebic stack up
alt + d : komorebic stack right
alt + u : komorebic unstack # oem_1 is ;
alt + shift + oem_4 : komorebic cycle-stack previous # oem_4 is [
alt + shift + 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 + r : komorebic toggle-float
alt + ctrl + t : komorebic toggle-monocle

Window manager options

alt + shift + r : komorebic retile
alt + ctrl + r : 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

komorebic check
No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\rafae

Looking for configuration files in C:\Users\rafae

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

Found C:\Users\rafae.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 @winchestercanal on GitHub (Jan 27, 2025). ### Summary I like to use the BetterDiscord plugin to add features to my discord, like zooming on images, translating messages, and themes! It turns out that when enabling the transparent themes option, Komorebi can no longer see Discord, preventing window management! BetterDiscord: https://betterdiscord.app ![Image](https://github.com/user-attachments/assets/11607a3d-339c-46cf-af17-717ab78cdff0) Image with English translation, to facilitate understanding! ![Image](https://github.com/user-attachments/assets/81b39531-5f97-4fdd-a2ef-a373c04f8787) ### Version Information Windows 11 24h2 komorebi 0.1.33 ### Komorebi Configuration ```json { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.32/schema.json", "app_specific_configuration_path": "$Env:USERPROFILE/applications.json", "animation": { "fps": 60, "style": "EaseInOutExpo", "duration": 250, "enabled": false }, "border": false, "border_colours": { "unfocused": "#ffffff", "single": "#ffffff", "monocle": "#ffffff", "stack": "#ffffff" }, "border_implementation": "Komorebi", "border_offset": -1, "border_style": "System", "border_width": 0, "cross_monitor_move_behaviour": "Insert", "default_container_padding": 5, "default_workspace_padding": 5, "float_override": false, "global_work_area_offset": { "left": 0, "right": 0, "top": 0, "bottom": 0 }, "mouse_follows_focus": false, "stackbar": { "tabs": { "unfocused_text": "#ffffff", "font_size": 0, "background": "#ffffff", "width": 300, "font_family": "Segoe UI", "focused_text": "#ffffff" }, "height": 40, "label": "Process", "mode": "OnStack" }, "transparency": false, "transparency_alpha": 225, "unmanaged_window_operation_behaviour": "Op", "window_container_behaviour": "Create", "window_hiding_behaviour": "Cloak", "display_index_preferences": { "0": "GSM0001-5&27eed4c6&0&UID4352", "1": "GWD2160-5&27eed4c6&0&UID4356", "2": "RTD0000-5&27eed4c6&0&UID4354" }, "monitors": [ { "window_based_work_area_offset_limit": 3, "window_based_work_area_offset": { "left": 400, "top": 300, "right": 900, "bottom": 400 }, "workspaces": [ { "name": "I", "layout": "UltrawideVerticalStack" }, { "name": "II", "initial_workspace_rules": [ { "kind" : "Class", "id": "Premiere Pro" }, { "kind": "Title", "matching_strategy": "Contains", "id": "Adobe After Effects" }, { "kind": "Class", "id": "Photoshop" }, { "kind": "Class", "id": "Illustrator" } ] }, { "name": "III", "layout": "HorizontalStack" }, { "name": "IV", "layout": "UltrawideVerticalStack" }, { "name": "V", "layout": "Rows" }, { "name": "VI", "layout": "Grid" }, { "name": "VII", "layout": "RightMainVerticalStack" } ] }, { "workspaces": [ { "name": "1", "layout": "Grid" } ] }, { "workspaces": [ { "name": "1", "layout": "Rows" } ] } ], "ignore_rules": [ { "kind": "Title", "matching_strategy": "Contains", "id": "Install" }, { "kind": "Title", "matching_strategy": "Equals", "id": "WHKD Keybinds" }, { "kind": "Class", "matching_strategy": "Equals", "id": "Qt663QWindowToolSaveBits" }, { "kind": "Title", "matching_strategy": "Contains", "id": "SceneTree" }, { "kind": "Title", "matching_strategy": "Contains", "id": "setup" }, { "kind": "Title", "matching_strategy": "Contains", "id": "VMware" }, { "kind": "Exe", "matching_strategy": "Equals", "id": "Photoshop.exe" }, { "kind": "Exe", "matching_strategy": "Equals", "id": "Writing Tools.exe" }, { "kind": "Exe", "matching_strategy": "Equals", "id": "ChatGPT.exe" }, { "kind": "Exe", "matching_strategy": "Equals", "id": "CopilotNative.exe" }, { "kind": "Exe", "matching_strategy": "Contains", "id": "PowerToys." }, { "kind": "Exe", "matching_strategy": "Equals", "id": "Bitwarden.exe" } ], "floating_applications": [ { "kind": "Class", "id": "Premiere Pro" }, { "kind": "Title", "matching_strategy": "Contains", "id": "Adobe After Effects" }, { "kind": "Class", "id": "Photoshop" } ] } ``` ### 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 + q : komorebic close alt + m : komorebic minimize # Focus windows alt + j : komorebic focus left alt + k : komorebic focus down alt + i : komorebic focus up alt + l : komorebic focus right alt + shift + 9 : komorebic cycle-focus previous # oem_4 is [ alt + shift + 0 : komorebic cycle-focus next # oem_6 is ] # Move windows alt + ctrl + j : komorebic move left alt + ctrl + k : komorebic move down alt + ctrl + i : komorebic move up alt + ctrl + l : komorebic move right alt + t : komorebic promote # Stack windows alt + a : komorebic stack left alt + s : komorebic stack down alt + w : komorebic stack up alt + d : komorebic stack right alt + u : komorebic unstack # oem_1 is ; alt + shift + oem_4 : komorebic cycle-stack previous # oem_4 is [ alt + shift + 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 + r : komorebic toggle-float alt + ctrl + t : komorebic toggle-monocle # Window manager options alt + shift + r : komorebic retile alt + ctrl + r : 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 komorebic check No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\rafae Looking for configuration files in C:\Users\rafae Found komorebi.json; this file can be passed to the start command with the --config flag Found C:\Users\rafae\.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:39 +01:00
adam closed this issue 2026-01-05 14:51:39 +01:00
Author
Owner

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

This is a wontfix because transparency requires the LAYERED flag (which is an indicator to komorebi that a window should not be managed).

The only form of transparency supported by komorebi is when komorebi sets the LAYERED flag itself and keeps track of internally of windows which have that flag and should be managed; you can set transparency to true for this in the config, and it will add transparency to non-focused windows - there are no plans for adding transparency to focused windows.

@LGUG2Z commented on GitHub (Jan 27, 2025): This is a wontfix because transparency requires the LAYERED flag (which is an indicator to komorebi that a window should not be managed). The only form of transparency supported by komorebi is when komorebi sets the LAYERED flag itself and keeps track of internally of windows which have that flag and should be managed; you can set `transparency` to `true` for this in the config, and it will add transparency to non-focused windows - there are no plans for adding transparency to focused windows.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#569