Daniel Silva - 2020-03-08

Sharing the following in case it is useful.

When using i3 (i3 gaps) + polybar as configured in the relevant iso, running a window in full screen mode ($mod+f) would not cover the system tray (provided by polybar).

This is listed as a known issue in Polybar's docs. See: https://github.com/polybar/polybar/wiki/Known-Issues#override-redirect-in-i3).

As stated above, to fix this:

  • Add the following to ~/.config/i3/config:
gaps top 30
  • Make sure the following configuration is set in the [bar/example] section of ~/.config/polybar/config:
override-redirect = true
wm-restack = i3

Polybar changes will be reflected immediately because of $HOME/.config/polybar/i3listen.py already running from i3 config. However, for i3 to see the change in config, you must reloading i3 ($mod+shift+r by default).

 

Last edit: Daniel Silva 2020-03-08