nixypanda / dotfiles

My dotfiles + system configuration for NixOS and mac
MIT License
170 stars 11 forks source link

Xmonad windows overlapped with taffybar #10

Open alienzj opened 1 year ago

alienzj commented 1 year ago

scrot_2022-09-14-220918

Dear @sherubthakur ,

As the title says, I meet a problem that xmonad windows overlapped with taffybar, could you please guide me on how to fix it?

Here is screen information:

❯ xrandr
Screen 0: minimum 320 x 200, current 2880 x 1800, maximum 16384 x 16384
eDP connected primary 2880x1800+0+0 (normal left inverted right x axis y axis) 302mm x 188mm
   2880x1800     90.00*+
   1920x1200     90.00  
   1920x1080     90.00  
   1600x1200     90.00  
   1680x1050     90.00  
   1280x1024     90.00  
   1440x900      90.00  
   1280x800      90.00  
   1280x720      90.00  
   1024x768      90.00  
   800x600       90.00  
   640x480       90.00  
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
nixypanda commented 1 year ago

Hey, I am unsure why this happened. I have mostly used these with a 4k monitor with some scaling and it has worked for me. The avoidStruts function in xmonad should have taken care of it. I would like to take a look into it, will update if I find something here.

alienzj commented 1 year ago

Thanks a lot for your reply. I am learning Haskell. :)