notusknot / dotfiles-nix

Configuration files for my NixOS machine, declared by home-manager
MIT License
454 stars 30 forks source link

eww/scripts/workspaces.sh slows down after a while and eventually freezes hyprland #8

Closed Rotekoppen closed 2 years ago

Rotekoppen commented 2 years ago

I do not use the same config but ive stolen borrowed workspaces.sh workspaces.lua and over time when editing my eww panel it seems to slow down, react slower, and crash (dont know if this is because hyprland is buggy)

it may be because i am editing the panel tho, and will be fixed when i stop ricing :P

notusknot commented 2 years ago

I sort of encountered this issue too. I think it’s because over time if you restart eww a lot, it opens a new instance of the script which adds up over time. I’m not experienced enough to know how to fix it, so the temporary solution i came across is too

  1. Comment out the workspace script while you are editing your eww bar
  2. Uncomment it when you are satisfied and won’t be tweaking it much more Hope this helps :)
Rotekoppen commented 2 years ago

:)