xmonad / xmonad-contrib

Contributed modules for xmonad
https://xmonad.org
BSD 3-Clause "New" or "Revised" License
579 stars 271 forks source link

Borders dominate SideBorderDecoration when size ≤ 2 #854

Open mingmingrr opened 6 months ago

mingmingrr commented 6 months ago

Problem Description

SideBorderDecoration only displays decoration borders when the requested size is small enough, and the active/inactive color settings have no effect from not being displayed.

It would be nice to be able to modify the decoration theme, or at least be able to set the decoration border width.

I'm open to creating a PR given which approach to take.

Steps to Reproduce

Set sbSize to 1 or 2 for sideBorder or sideBorderLayout.

Configuration File

module Main (main) where

import XMonad
import XMonad.Layout.SideBorderDecoration

main :: IO ()
main = xmonad $ sideBorder def{ sbSize = 2 } def

Checklist