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]: Taskbar is drawn over the komorebi-bar when it is placed on the left side of the screen #1229

Closed
rlopeznegrete opened this issue Jan 16, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@rlopeznegrete
Copy link

rlopeznegrete commented Jan 16, 2025

Summary

Hello,

I keep the windows taskbar on the left hand side of the screen. When the komorebi bar is loaded, it is always under the taskbar which cuts part of it off. Are there any settings I can play with that will fix this?

I have tried changing work_area_offset but this only causes the application windows to move, but has no effect on the size of the komorebi bar itself.

Thanks!

Image

Version Information

komorebi 0.1.34
branch:master
commit_hash:129dc5d4

Komorebi Configuration

komorebi.json
{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.28/schema.json",
  "app_specific_configuration_path": "$Env:USERPROFILE/applications.json",
  "window_hiding_behaviour": "Cloak",
  "cross_monitor_move_behaviour": "Insert",
  "default_workspace_padding": 0,
  "default_container_padding": 0,
  "border": true,
  "border_width": 4, 
  "border_offset": -1,
  "border_colours": {
    "single": "#fc0349",
    "stack": "#00a542",
    "monocle": "#ff3399",
    "unfocused": "#808080"
  },
  "theme": {
    "palette": "Base16",
    "name": "Eighties",
    "accent": "Base0D"
  },
  "mouse_follows_focus": false,
  "stackbar": {
    "height": 40,
    "mode": "OnStack",
    "tabs": {
      "width": 300,
      "focused_text": "#00a542",
      "unfocused_text": "#b3b3b3",
      "background": "#141414"
    }
  },
  "transparency": true,
  "transparency_alpha": 240, 
  "ignore_rules": [
    {
      "kind": "Title",
      "id": "komorebi-bar",
      "matching_strategy": "Equals"
    }
  ],
  "monitors": [
    {
      "workspaces": [
        {
          "name": "Main",
          "custom_layout": "C:/Users/Username/.config/komorebi/CustomWide.json"
        },
        {
          "name": "Comms",
          "custom_layout": "C:/Users/Username/.config/komorebi/CustomWide.json",
		  "workspace_rules": [
			{
				"kind": "Exe",
				"id": "OUTLOOK.EXE"
			},
			{
				"kind": "Exe",
				"id": "ms-teams.exe"
			},
			{
				"kind": "Exe",
				"id": "Obsidian.exe"
			}
		  ],
        },
        {
          "name": "R2020",
          "custom_layout": "C:/Users/Username/.config/komorebi/CustomWide.json",
		  "initial_workspace_rules": [
			{
				"kind": "Exe",
				"id": "MATLAB.exe"
			},
			{
				"kind": "Exe",
				"id": "Coder.exe"
			}
		  ]
        },
        {
          "name": "IV",
          "custom_layout": "C:/Users/Username/.config/komorebi/CustomWide.json"
        },
        {
          "name": "V",
          "custom_layout": "C:/Users/Username/.config/komorebi/CustomWide.json"
        },
        {
          "name": "VI",
		  "custom_layout": "C:/Users/Username/.config/komorebi/CustomWide.json"
        },
        {
          "name": "AllFloat",
        }
      ]
    }
  ]
}



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


customwide.json
[
	{	
		"column": "Secondary",
		"configuration": {
			"Horizontal": 2
		}
	},
	{
		"column": "Primary",
		"configuration": {
			"WidthPercentage": 50
		}
	},
	{
		"column": "Tertiary",
		"configuration": "Horizontal"
	}
]

Hotkey Configuration

using default

Output of komorebic check

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

Looking for configuration files in C:\Users\Username

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

"custom_layout" is now end-of-life

End-of-life features will not receive any further bug fixes or updates; they should not be used

Found C:\Users\Username.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd fla

@rlopeznegrete rlopeznegrete added the bug Something isn't working label Jan 16, 2025
@LGUG2Z
Copy link
Owner

LGUG2Z commented Jan 16, 2025

I don't think this is a bug; if you are positioning your start bar on the left, you can use the appropriate configuration options for the bar to exclude that area - https://komorebi-bar.lgug2z.com/schema#position (you'll need to offset the start position )

@LGUG2Z
Copy link
Owner

LGUG2Z commented Jan 16, 2025

(There are also a bunch of changes coming to simplify the bar config - stay tuned! 🤞 )

@rlopeznegrete
Copy link
Author

aah I was able to move the bar as need! Feel free to close this issue as this is not a bug.

thanks!

@LGUG2Z LGUG2Z closed this as completed Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants