Closed keth-real closed 1 week ago
@rishav12s @rubiin @mahaveergurjar Can you guys test this. But maybe there's no effect for high end PC but this one fixes issues for me.
Some scripts is using hyprctl
command and when the compositor lags due to too much R/W of the hyprland related files, hyprctl
fails. This fixes that by reloading just once.
could you tell me more about this like does it fixes/optimizes the theme changing and wallpaper changing scripts so there is no lag ?
tried it and works fine no problems faced after reloading the config
The script populates the files, sometimes causing race conditions when it tries to touch Hyprland files. Reloading Hyprland once and after the files are set should be better for performance and predictability
So I noticed that we are calling parallel shells so using a trap cmd EXIT is useless here. Will try to see for a better approach
Edit: Wrong, all is well. There's just an old sed command in the theme switch that causes this
Pull Request
@kRHYME7
closes #2000