anufrievroman / waypaper

GUI wallpaper manager for Wayland and Xorg Linux systems
https://anufrievroman.gitbook.io/waypaper
GNU General Public License v3.0
277 stars 11 forks source link

Restarting waybar in post-command causes waypaper interface to freeze #37

Closed JunkyJohnny667 closed 3 months ago

JunkyJohnny667 commented 4 months ago

OS: Arch my post-command in config.ini is currently "wal -i $wallpaper && pywalfox update && killall waybar && waybar". The last two commands are intended to simply restart waybar as it's colour scheme doesn't automatically update to match that created by pywal. Running waypaper with this config does execute the commands succesfully, but after this the interface for waypaper completely freezes and it cannot be closed, neither by clicking exit or by using my keybind for closing the focused program. I have tried putting the commands related to waybar into a simple script and adding said script to the post-command, eg. "wal -i $wallpaper && pywalfox update && sh /path/to/script/launch.sh", however this causes the exact same behaviour from waypaper.

anufrievroman commented 4 months ago

Thank you for reporting. I think I may know why. I tried to do a little fix in the last commit. Could you try to reinstall from main?

pipx install git+https://github.com/anufrievroman/waypaper
JunkyJohnny667 commented 4 months ago

Apologies for the late reply, good news is this now works. The bad news is that now my keybind to launch waypaper doesn't work

anufrievroman commented 4 months ago

This sometimes happens when people install from git instead of the official ways. It may help to delete all other installations of waypaper. I'll try to package this and other small improvements into a new release soon.

anufrievroman commented 3 months ago

I assume this issue is fixed then.