[BUG]: Is there a way to disable komorebi-bar completely? #509

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

Originally created by @josf0 on GitHub (Oct 30, 2024).

Summary

I've looked through the wiki but couldn't really find anywhere on how to disable the bar. I've set everything in the komorebi.bar.json to be disabled so the bar has disappeared but there is still some vacant space being shown in the window.

image

I've also tried renaming the komorebi-bar.exe to .bak.

Version Information

OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.22635 N/A Build 22635

komorebic 0.1.30
branch:master
commit_hash:7d032db5
build_time:2024-10-28 20:13:03 +00:00
build_env:rustc 1.82.0 (f6e511eec 2024-10-15),stable-x86_64-pc-windows-msvc

Komorebi Configuration

komorebi.bar.json
{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.29/schema.bar.json",
  "monitor": {
    "index": 1,
    "work_area_offset": {
      "left": 0,
      "top": 40,
      "right": 0,
      "bottom": 40
    }
  },
  "font_family": "JetBrains Mono",
  "theme": {
    "palette": "Base16",
    "name": "Ashes",
    "accent": "Base0D"
  },
  "left_widgets": [
    {
      "Komorebi": {
        "workspaces": {
          "enable": false,
          "hide_empty_workspaces": false
        },
        "layout": {
          "enable": false
        },
        "focused_window": {
          "enable": false,
          "show_icon": false
        }
      }
    }
  ],
  "right_widgets": [
    {
      "Media": {
        "enable": false
      }
    },
    {
      "Storage": {
        "enable": false
      }
    },
    {
      "Memory": {
        "enable": false
      }
    },
    {
      "Network": {
        "enable": false,
        "show_total_data_transmitted": false,
        "show_network_activity": false
      }
    },
    {
      "Date": {
        "enable": false,
        "format": "DayDateMonthYear"
      }
    },
    {
      "Time": {
        "enable": false,
        "format": "TwentyFourHour"
      }
    },
    {
      "Battery": {
        "enable": false
      }
    }
  ]
}

komorebi.json
{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.29/schema.json",
  "app_specific_configuration_path": "$Env:USERPROFILE/applications.yaml",
  "window_hiding_behaviour": "Cloak",
  "cross_monitor_move_behaviour": "Insert",
  "default_workspace_padding": 5,
  "default_container_padding": 5,
  "bar_enabled": false,
  "show_bar": false,
  "border": false,
  "border_width": 4,
  "border_offset": -1,
  "border_style": "System",
  "border_colours": {
	  "single": "#ffba00"
  },
  "animation": {
		"enabled": false,
  },
  "theme": {
    "palette": "Base16",
    "name": "DaOneOcean",
    "unfocused_border": "Base03",
    "bar_accent": "Base0D"
  },

}

Hotkey Configuration

#Requires AutoHotkey v2.0.2
#SingleInstance Force

Komorebic(cmd) {
RunWait(format("komorebic.exe {}", cmd), , "Hide")
}

#q::Komorebic("close")
#m::Komorebic("minimize")

; Focus windows
#Left::Komorebic("focus left")
#Down::Komorebic("focus down")
#Up::Komorebic("focus up")
#Right::Komorebic("focus right")

; Move windows
#+Left::Komorebic("move left")
#+Down::Komorebic("move down")
#+Up::Komorebic("move up")
#+Right::Komorebic("move right")

; Manipulate windows
#t::Komorebic("toggle-float")

; Layouts
!x::Komorebic("flip-layout horizontal")
!y::Komorebic("flip-layout vertical")

; Workspaces
#1::Komorebic("focus-workspace 0")
#2::Komorebic("focus-workspace 1")
#3::Komorebic("focus-workspace 2")
#4::Komorebic("focus-workspace 3")
#5::Komorebic("focus-workspace 4")
#6::Komorebic("focus-workspace 5")
#7::Komorebic("focus-workspace 6")
#8::Komorebic("focus-workspace 7")

; Move windows across workspaces
#+1::Komorebic("move-to-workspace 0")
#+2::Komorebic("move-to-workspace 1")
#+3::Komorebic("move-to-workspace 2")
#+4::Komorebic("move-to-workspace 3")
#+5::Komorebic("move-to-workspace 4")
#+6::Komorebic("move-to-workspace 5")
#+7::Komorebic("move-to-workspace 6")
#+8::Komorebic("move-to-workspace 7")

Output of komorebic check

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

Looking for configuration files in C:\Users\josep

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

Found C:\Users\josep.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 @josf0 on GitHub (Oct 30, 2024). ### Summary I've looked through the wiki but couldn't really find anywhere on how to disable the bar. I've set everything in the komorebi.bar.json to be disabled so the bar has disappeared but there is still some vacant space being shown in the window. ![image](https://github.com/user-attachments/assets/8fc99a47-18ae-4f2c-834d-72c9a2026dd9) I've also tried renaming the komorebi-bar.exe to .bak. ### Version Information OS Name: Microsoft Windows 11 Pro OS Version: 10.0.22635 N/A Build 22635 komorebic 0.1.30 branch:master commit_hash:7d032db5 build_time:2024-10-28 20:13:03 +00:00 build_env:rustc 1.82.0 (f6e511eec 2024-10-15),stable-x86_64-pc-windows-msvc ### Komorebi Configuration ```json komorebi.bar.json { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.29/schema.bar.json", "monitor": { "index": 1, "work_area_offset": { "left": 0, "top": 40, "right": 0, "bottom": 40 } }, "font_family": "JetBrains Mono", "theme": { "palette": "Base16", "name": "Ashes", "accent": "Base0D" }, "left_widgets": [ { "Komorebi": { "workspaces": { "enable": false, "hide_empty_workspaces": false }, "layout": { "enable": false }, "focused_window": { "enable": false, "show_icon": false } } } ], "right_widgets": [ { "Media": { "enable": false } }, { "Storage": { "enable": false } }, { "Memory": { "enable": false } }, { "Network": { "enable": false, "show_total_data_transmitted": false, "show_network_activity": false } }, { "Date": { "enable": false, "format": "DayDateMonthYear" } }, { "Time": { "enable": false, "format": "TwentyFourHour" } }, { "Battery": { "enable": false } } ] } komorebi.json { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.29/schema.json", "app_specific_configuration_path": "$Env:USERPROFILE/applications.yaml", "window_hiding_behaviour": "Cloak", "cross_monitor_move_behaviour": "Insert", "default_workspace_padding": 5, "default_container_padding": 5, "bar_enabled": false, "show_bar": false, "border": false, "border_width": 4, "border_offset": -1, "border_style": "System", "border_colours": { "single": "#ffba00" }, "animation": { "enabled": false, }, "theme": { "palette": "Base16", "name": "DaOneOcean", "unfocused_border": "Base03", "bar_accent": "Base0D" }, } ``` ### Hotkey Configuration #Requires AutoHotkey v2.0.2 #SingleInstance Force Komorebic(cmd) { RunWait(format("komorebic.exe {}", cmd), , "Hide") } #q::Komorebic("close") #m::Komorebic("minimize") ; Focus windows #Left::Komorebic("focus left") #Down::Komorebic("focus down") #Up::Komorebic("focus up") #Right::Komorebic("focus right") ; Move windows #+Left::Komorebic("move left") #+Down::Komorebic("move down") #+Up::Komorebic("move up") #+Right::Komorebic("move right") ; Manipulate windows #t::Komorebic("toggle-float") ; Layouts !x::Komorebic("flip-layout horizontal") !y::Komorebic("flip-layout vertical") ; Workspaces #1::Komorebic("focus-workspace 0") #2::Komorebic("focus-workspace 1") #3::Komorebic("focus-workspace 2") #4::Komorebic("focus-workspace 3") #5::Komorebic("focus-workspace 4") #6::Komorebic("focus-workspace 5") #7::Komorebic("focus-workspace 6") #8::Komorebic("focus-workspace 7") ; Move windows across workspaces #+1::Komorebic("move-to-workspace 0") #+2::Komorebic("move-to-workspace 1") #+3::Komorebic("move-to-workspace 2") #+4::Komorebic("move-to-workspace 3") #+5::Komorebic("move-to-workspace 4") #+6::Komorebic("move-to-workspace 5") #+7::Komorebic("move-to-workspace 6") #+8::Komorebic("move-to-workspace 7") ### Output of komorebic check No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\josep Looking for configuration files in C:\Users\josep Found komorebi.json; this file can be passed to the start command with the --config flag Found C:\Users\josep\.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag
adam closed this issue 2026-01-05 14:51:11 +01:00
Author
Owner

@josf0 commented on GitHub (Oct 30, 2024):

After a restart it has been fixed. I'm not sure which one of the modification made the change but somehow it doesn't show anymore. Sorry for opening the issue.

@josf0 commented on GitHub (Oct 30, 2024): After a restart it has been fixed. I'm not sure which one of the modification made the change but somehow it doesn't show anymore. Sorry for opening the issue.
Author
Owner

@LGUG2Z commented on GitHub (Oct 30, 2024):

When starting komorebi, just omit the "--bar" flag.

@LGUG2Z commented on GitHub (Oct 30, 2024): When starting komorebi, just omit the "--bar" flag.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#509