mihirlad55 / polybar-dwm-module

A dwm module for polybar
MIT License
116 stars 15 forks source link

Without dwm status bar, windows ignore polybar #3

Closed mihirlad55 closed 4 years ago

mihirlad55 commented 4 years ago

When dwm status bar is not shown, polybar is treated like a floating window, causing other windows to be partially cut off. Not sure if this is fixable in polybar or requires patching in dwm.

mihirlad55 commented 4 years ago

This cannot be fixed in polybar. There are 3 options I can think of:

  1. Remove dwm status bar and create a patch that leaves a gap for polybar
  2. Keep dwm status bar, but set the height to the height of polybar, so polybar can sit right on top
  3. Make a patch to allow dwm to manage other bars i.e. polybar

The last option would additionally fix issue #3.

mihirlad55 commented 4 years ago

See https://github.com/mihirlad55/dwm-anybar. This allows dwm to manage polybar properly. Polybar should have override-redirect = false and does not require restacking.

mihirlad55 commented 4 years ago

The two best solutions to this issue are the dwm-anybar patch and overlaying the bar on dwm's status bar.