[i3-discuss] Re: fullscreen covers i3bar, how can I prevent that?

  • From: cornerman <cornerman@xxxxxxxxx>
  • To: i3-discuss@xxxxxxxxxxxxx
  • Date: Sat, 6 Apr 2019 00:16:57 +0200

Though it is not possible by default, there is still a possibility. But it will not work with i3bar's dock mode.

There is the i3bar `mode` and `hidden_state` settings (https://i3wm.org/docs/userguide.html#_display_mode) and you can control these settings at runtime (https://i3wm.org/docs/userguide.html#_i3bar_control).

For example, this command will always overlay the bar on top of the current screen (even in fullscreen mode):
$ i3 bar mode hide
$ i3 bar hidden_state show

You can then revert back to, e.g., dock mode with:
$ i3 bar mode dock

So what you could do is switch the mode and hidden_state whenever, you go into fullscreen mode and reset the mode back when you exit fullscreen mode. You probably need to write a small ipc script to react to fullscreen/unfullscreen events.

Hope it helps!

Best
Johannes

On 4/5/19 6:57 PM, Ingo Bürk wrote:

If the window doesn't cover i3bar, it wouldn't be fullscreen anymore according to the specification. The answer simply is that it's not possible.

What you can do is move the window to its own workspace. Due to how tiling works it will be "fullscreen except for i3bar".


Regards
Ingo

On April 5, 2019 6:54:03 PM GMT+02:00, Hardy Pottinger <hardy.pottinger@xxxxxxxxx> wrote:

    This has been asked, and never answered (except with "no it
    doesn't"), and I can assure you, on my i3 installation, when I hit
    mod-f, the now fullscreen window does in fact cover the i3bar. :-( I
    rely on the i3bar to figure out how many workspaces I might have
    open at a time... it's disorienting to not be able to see it. How do
    I configure i3 to *not* cover the i3bar with fullscreen windows? Thanks!

    The FAQ entry for this question is not particularly useful.

    --Hardy


--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Other related posts: