From 22bc1e1879da0d99e5e1d79b10742b8cc9fd0521 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 30 May 2024 12:47:11 -0500 Subject: Initial commit --- xautostart | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 xautostart (limited to 'xautostart') diff --git a/xautostart b/xautostart new file mode 100755 index 0000000..321101c --- /dev/null +++ b/xautostart @@ -0,0 +1,18 @@ +#!/bin/sh + +once() { + printf '%s ... ' "$*" + if pgrep -x "$1" + then + echo up + else + "$@" 2>&1 | + sed "s/.*/$1\t&/g" \ + >> ~/.local/share/xorg/autostart.log & + echo ok + fi +} + +once keepassxc +once nextcloud +once emacs --daemon -- cgit 1.4.1-21-gabe81