Skip to content

Conversation

martinpiz097
Copy link
Contributor

feat: Added script to listen for changes in the config.ini file generated by waypaper, once a change is detected in the "wallpaper" property, the path of the new wallpaper is saved in the cache file located at "~/.config/ml4w/cache/current_wallpaper"

Note: The script requires the "inotifywait" command, in arch it is installed with "sudo pacman -S inotify-tools"

…ated by waypaper, once a change is detected in the wallpaper property, the path of the new wallpaper is saved in the cache file located at ~/.config/ml4w/cache/current_wallpaper
@mylinuxforwork
Copy link
Owner

@martinpiz097 Thank you. I will look into it. I really like the idea setting up a listener to file changes. This could be used on other functions as well.

@mylinuxforwork
Copy link
Owner

I have added another listener to the settings.ini of GTK to enable a global dark/light theme switch. inotifywait is great. Will look into your PR again very soon. Thanks again.

@martinpiz097
Copy link
Contributor Author

Thanks for considering it again, I've actually included this change in my personal settings and it's been working well so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants