diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/set-screen | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/set-screen b/bin/set-screen index 9d53edd..edecc26 100755 --- a/bin/set-screen +++ b/bin/set-screen @@ -31,6 +31,9 @@ function run_display_state_commands() { dir="$(display_state_dir)" if [[ -x "${dir}/command" ]]; then + if [[ -x "${CONFIG_DIR}/pre-command" ]]; then + "${CONFIG_DIR}/pre-command" + fi "${dir}/command" if [[ -x "${CONFIG_DIR}/post-command" ]]; then "${CONFIG_DIR}/post-command" |