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

swaybar: 'mode hide' no effect (silently ignored) #1158

Closed
tjavdar opened this issue Apr 8, 2017 · 6 comments
Closed

swaybar: 'mode hide' no effect (silently ignored) #1158

tjavdar opened this issue Apr 8, 2017 · 6 comments

Comments

@tjavdar
Copy link

tjavdar commented Apr 8, 2017

First congrats and thanks^2 for great work from a fresh convert from i3 to sway on Wayland!

I use to hide status bar (consider it robbing too much of screen estate), so I display it just when needed
(press $mod in i3).

The problem: i3status displays properly, but is not hidden.

Here's my corresponding lines in config:

bar {
position bottom
mode hide
status_command i3status -c ~/My/skel/sway/i3status.conf
}

Vesrsion info:
sway 0.12.1-1 / Linux i5 4.10.8-1-ARCH

@ddevault
Copy link
Contributor

ddevault commented Apr 8, 2017

See #2

@ddevault ddevault closed this as completed Apr 8, 2017
@minus7
Copy link
Contributor

minus7 commented Apr 8, 2017

See #343 for i3bar feature support: it's not implemented yet. Feel free to implement it and send a patch.

@oblitum oblitum mentioned this issue Dec 2, 2017
81 tasks
@oblitum
Copy link

oblitum commented Dec 17, 2017

I've "hacked" this for manual bar hide:

bindsym $mod+a exec ( ( ps axo comm= | grep -w swaybar > /dev/null ) && pkill swaybar ) || swaybar -b bar-0 

@g00nix
Copy link

g00nix commented Aug 18, 2019

Is there any progress on this?

@RedSoxFan
Copy link
Member

mode hide is supported on sway 1.0 and newer.

This issue is from the 0.x era. sway (and swaybar) have been completely rewritten since.

@colesnicov
Copy link

colesnicov commented Sep 3, 2024

Hello friends.
I wrote this in the ~/.config/sway/config:

bar {
  mode hide
  swaybar_command waybar
}

, but the swaybar is still visibled. It is shown just below the waybar :/

Any advice? :)

EDIT: sway version is 1.7.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

7 participants