Closed nilscript closed 3 years ago
A naive solution would look like this:
import glob, os
def anything():
for file in glob.glob("~/.config/wal/reloa.d/?*.sh"):
if os.access(file, os.X_OK):
os.system("/bin/sh '" + file + "'")
anything()
This can already be done via scripting. Simply create a wrapper that calls wal
and do everything extra in the wrapper. Closing this issue. Thanks for opening it.
I have a build of dwm which can reload from .Xresources. Now I just need to trigger it from wal. It's a custom build with an unusual method of communicating with the main process. My suggest would be to run any reload scripts found in ~/.config/wal/reloa.d/?*.sh, which would help me detect when wal is running and it would help any other peoples update their custom systems and programs.