Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
josf0 opened this issue Oct 30, 2024 · 2 comments
Closed

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

josf0 opened this issue Oct 30, 2024 · 2 comments

Comments

@josf0
Copy link

josf0 commented 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

@josf0 josf0 added the bug Something isn't working label Oct 30, 2024
@josf0
Copy link
Author

josf0 commented 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.

@LGUG2Z
Copy link
Owner

LGUG2Z commented Oct 30, 2024

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

@LGUG2Z LGUG2Z removed the bug Something isn't working label Oct 30, 2024
@LGUG2Z LGUG2Z closed this as completed Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants