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

Sketchybar unhides after locking #477

Closed
dnlzro opened this issue Jan 10, 2024 · 1 comment
Closed

Sketchybar unhides after locking #477

dnlzro opened this issue Jan 10, 2024 · 1 comment
Labels
available on master bug Something isn't working

Comments

@dnlzro
Copy link

dnlzro commented Jan 10, 2024

Info

I use a script (which is run by an skhd hotkey) to hide Sketchybar using the following command:

sketchybar --bar hidden=false

In my sketchybarrc, I have the following config:

sketchybar --bar height=20        \
                 blur_radius=30   \
                 position=top     \
                 sticky=off       \
                 padding_left=10  \
                 padding_right=10 \
                 color=0x05000000 \
                 topmost=off

Problem

The command to hide works, but if the bar is hidden when I lock my device, it unhides when I log back in. Also, sketchybar --query bar does not contain the hidden state.

Expected Outcome

The hidden state of the bar should be preserved when I log back in.

Any idea what might be going on? I've reinstalled and the issue persists.

@FelixKratz
Copy link
Owner

Indeed, the bar is reset on login and display change, hence why this property does not persists on wake or display configuration change.

This issue will be adressed during the implementation of #472

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
available on master bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants