diff options
| author | Craig Jennings <c@cjennings.net> | 2025-06-09 11:42:47 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-06-09 11:42:47 -0500 |
| commit | 0a40e2ec7db819f37e356475d56425df5daacf97 (patch) | |
| tree | a257cf84f66ec13a80f9a88c963a68767a9821a0 /dotfiles/system/.local/bin/touchpad-indicator-start | |
| parent | c545375306180583d2b96e060d5e06ced96ca014 (diff) | |
get all startup applications working
Diffstat (limited to 'dotfiles/system/.local/bin/touchpad-indicator-start')
| -rwxr-xr-x | dotfiles/system/.local/bin/touchpad-indicator-start | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dotfiles/system/.local/bin/touchpad-indicator-start b/dotfiles/system/.local/bin/touchpad-indicator-start new file mode 100755 index 0000000..1ca9096 --- /dev/null +++ b/dotfiles/system/.local/bin/touchpad-indicator-start @@ -0,0 +1,12 @@ +#!/bin/sh +# attempts to launch touchpad-indicator + +logdir="$HOME/.local/var/log/" +[ -d $logdir ] || mkdir -p "$logdir" +logfile="$logdir/$(date +%Y-%m-%d_%H-%M-%S-%3N.touchpad-indicator.log)" + +# for whatever reason, it has to be run twice? +echo "$(date): Starting touchpad-indicator" >> "$logfile" 2>&1 +sleep 5 && touchpad-indicator >> $logfile 2>&1 +echo "$(date): Starting touchpad-indicator again" >> "$logfile" 2>&1 +sleep 5 && touchpad-indicator >> $logfile 2>&1 |
