sipi / dwm-status2d

patch for DWM that allows colors and draw rectangle in the DWM status bar
GNU General Public License v3.0
21 stars 3 forks source link

[status2d+systray] systrayonleft messes up text placement #16

Open MinePro120 opened 2 months ago

MinePro120 commented 2 months ago

Hello. It seems to me that the status2d+systray patch found here (for dwm 6.4) behaves abnormally when systrayonleft > 0, as shown in the screenshots below.

Steps to reproduce:

  1. Clone dwm
  2. Checkout to version 6.4
  3. Apply the dwm-status2d-systray-6.4.diff patch
  4. Set systrayonleft = 1 in the config
  5. Make and install
  6. Launch dwm
  7. Open a few programs with systray icons (e.g. flameshot, keepassxc etc.).
  8. Run xsetroot -name "[status2d] ^c#FF0000^red text with blue rectangle^c#55cdfc^^r3,3,14,14^^f20^^c#FFFFFF^^b#f7a8b8^ and white text on pink background"
sipi commented 2 months ago

Hi, thanks for this return. Indeed, I never tried systrayonleft!

Unfortunately, I have no time to fix that quickly, my apologies.