From 0a40e2ec7db819f37e356475d56425df5daacf97 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 9 Jun 2025 11:42:47 -0500 Subject: get all startup applications working --- dotfiles/system/.local/bin/touchpad-indicator-start | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 dotfiles/system/.local/bin/touchpad-indicator-start (limited to 'dotfiles/system/.local/bin/touchpad-indicator-start') 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 -- cgit v1.2.3