Open shot-codes opened 3 years ago
Ah I had simply failed to compile the swift script to an executable, it now evokes my bash script as expected. I now have the following question, not being very familiar with swift; The bash script I execute on a system theme change contains a conditional that checks the environment variable. It is obviously not globally and so by script is unable to do anything with it. What, in your opinion, is the best way to approach conditional execution of some script based on the current theme, on a system theme change?
Hey there, nice little tool you got here, I'm hoping to get it working for my use case as I have been looking for something to accomplish this for a while.
I'm running it as a service in the way you describe. I am pointing to a simple bash script to be run on a system theme change. I am piping the output of my script to the same log files I use for the service. When I change the system appearance, it doesn't seem to run my script.
Any help would be much appreciated.