How to add a configurable log destination for executions of scripts? #296
Answered
by
FelixKratz
david-heward-unmind
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
FelixKratz
Oct 26, 2022
Replies: 1 comment
-
You can do it like this: just set the script up this way in sketchybar, i.e. to append to the output: sketchybar --set <name> script="$PLUGIN_DIR/script.sh >> $HOME/output.txt" or to reset the output: sketchybar --set <name> script="$PLUGIN_DIR/script.sh > $HOME/output.txt" This will log the outputs of the script execution to a file. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
FelixKratz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do it like this: just set the script up this way in sketchybar, i.e. to append to the output:
or to reset the output:
This will log the outputs of the script execution to a file.