sway
sway copied to clipboard
`swaymsg bar gaps` has no visual effect
Please fill out the following:
-
Sway Version:
- sway version 1.9
-
Debug Log:
- https://gist.github.com/Eolien55/ff4b632ba35326496ec3255ee378d3a9
Note that I exited using pkill sway
.
-
Configuration File:
- Default config.
-
Description:
- The steps you took in plain English to reproduce the problem.
In sway config file, putting bar gaps 50 0
has a clear visual effect: the bar is now 50px lower than the top of the screen. Putting it in the config file and reloading sway also has expected effects.
Running swaymsg bar bar-0 gaps 50 0
is well-interpreted by swaymsg and sway (see the log file), but has no visual effect. Running swaymsg -t get_bar_config bar-0
shows the gaps have been updated by sway, but these changes have seemingly not "reached" swaybar, since it doesn't move.
Is it because the swaybar's gaps is given only when swaybar is launched by sway?