I see - I've Touch ID enabled for sudo commands, so it's as inconvenient as the current solution (which also requires authentication). Btw if the following helps:
**Version:** v2023.3 on macOS 13.5.2 (22G91) with Alfred 5.1.2
**Steps that will reproduce the problem:**
1. Invoke Alfred
2. Type "lpm"
3. Press enter
**What is the expected result:**
Battery's Low Power Mode enabled
**What happens instead:**
Battery's Low Power Mode still the same
**Possible workaround:**
Use CLI (see above)
*Any additional information:**
The systems settings app starts, the value is changed (via drop down), authentication via Touch ID is required and the settings app closes. However, the mode did not change
I see. What about: "This workflow requires either ImageOptim or any these image optimisers installed (e.g., via brew): gifsicle, svgcleaner, advpng, jpegoptim, jpegtran, oxipng, pngcrush, pngout, pngquant, zopflipng."?
The workflow is already at https://alfred.app/workflows/alexanderwillner/optimize-images/ . However, it states "This workflow requires ImageOptim" which is not 100% correct. The workflow searches for various image optimisers in the path: "Please note that ImageOptim or related tools should be installed (e.g. via brew).". The tool "ImageOptim" just happens to automatically install most of them.
Thanks a lot for the thread. Is there an easy way / is it supported to use both, Environment Variables and User Configuration, in a way that the same workflow supports Alfred 4 and 5? Still have no license for version 5