about summary refs log tree commit diff stats
path: root/xautostart
diff options
context:
space:
mode:
Diffstat (limited to 'xautostart')
-rwxr-xr-xxautostart18
1 files changed, 18 insertions, 0 deletions
diff --git a/xautostart b/xautostart new file mode 100755 index 0000000..321101c --- /dev/null +++ b/xautostart
@@ -0,0 +1,18 @@
1#!/bin/sh
2
3once() {
4 printf '%s ... ' "$*"
5 if pgrep -x "$1"
6 then
7 echo up
8 else
9 "$@" 2>&1 |
10 sed "s/.*/$1\t&/g" \
11 >> ~/.local/share/xorg/autostart.log &
12 echo ok
13 fi
14}
15
16once keepassxc
17once nextcloud
18once emacs --daemon