natemaia / dk

X11 window manager
MIT License
24 stars 0 forks source link

When restarting dk there is a padding/gaps at the top #14

Closed selfish-dot closed 2 months ago

selfish-dot commented 2 months ago

I'm running Debian 12, with dk v2.3 I just updated dk and when I restart the window manager a gap appears at the top of the screen, and every time I restart the gap increases, this didn't happen previous to updating. I'm running polybar from the Debian repositories. It's my first time posting an issue, so please tell me what can I do to provide you with more information to test this.

2024-Sep-06-13-46

Also, I made the update following the steps on the doc

selfish-dot commented 2 months ago

Hi, I did some testing. I think is an issue with starting polybar within dkrc. I just commented out the line that launched polybar on my dkrc and put it on .xinitrc and that solved the problem. Hope it helps to do some testing

TAforever commented 2 months ago

This is not a dk bug, this is standard behavior of polybar. To avoid this, run polybar using a script as specified in archwiki https://wiki.archlinux.org/title/Polybar#Running_with_a_window_manager or add these two lines to dkrc:

killall polybar
polybar example &
selfish-dot commented 2 months ago

Hi, thank you. You were right! Sorry for opening this without doing proper research

natemaia commented 2 months ago

No need to be sorry, thanks Theodor for the help!