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

[FEAT]: using monitor width dynamically in komorebic-bar #1104

Open
azinsharaf opened this issue Nov 4, 2024 · 1 comment
Open

[FEAT]: using monitor width dynamically in komorebic-bar #1104

azinsharaf opened this issue Nov 4, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@azinsharaf
Copy link

azinsharaf commented Nov 4, 2024

Sponsorship Information

GitHub Sponsors

Suggestion

can komorebi-bar detect the monitor width dynamically and set the position > end > x from it? I have two monitors with different sizes at home (x=5140) and work (x=3410) and the bar doesn't fit correctly when i switch to another.

Alternatives Considered

i change the width manually when i go to the office.

@azinsharaf azinsharaf added the enhancement New feature or request label Nov 4, 2024
@azinsharaf azinsharaf changed the title [FEAT]: using monitor width dinamically in komorebic-bar [FEAT]: using monitor width dynamically in komorebic-bar Nov 5, 2024
@jklasdjklasdc
Copy link

if using an ahk configuration you can do

CompleteConfiguration()
WinWait("komorebi-bar")
WinMove(0, 0, A_ScreenWidth, 40, "ahk_exe komorebi-bar.exe")

to resize it to screen width and just replace the 40 with the desired height

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants