Why aren’t my Sway window gaps appearing?

0
0
Asked By MellowCedar42 On

I'm setting up my first customized Sway desktop on Arch Linux. Sway itself is working, and other changes in my configuration take effect, but the gaps between tiled windows aren't visible. I currently have this in my config:

#gaps
gaps inner 8px
gaps outer 4px

I expected to see the wallpaper between neighboring windows and around the outer edges. What should I change or check?

2 Answers

Answered By PixelHarbor7 On

Sway’s gap values should be plain numbers rather than values with a px suffix. Try:

gaps inner 8
gaps outer 4

Then reload Sway with your usual reload command. The gaps should reveal the desktop background between tiled windows.

Answered By NorthwindKite5 On

Also check whether gaps have been disabled elsewhere in the config. A setting such as `gaps_invisible yes` can hide the empty space, and workspace-specific or output-specific rules may override the global values. Search the config for other `gaps` lines and try `gaps_invisible no` if necessary.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.