iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor bug fix
[distro-setup]
/
desktop-20-autostart.sh
diff --git
a/desktop-20-autostart.sh
b/desktop-20-autostart.sh
index df8dab8223779968545d3e41ab9076d70653abf6..03be1c58356cb5c0d063977214a6b8bc2c871560 100755
(executable)
--- a/
desktop-20-autostart.sh
+++ b/
desktop-20-autostart.sh
@@
-24,7
+24,7
@@
fi
xout="$(xrandr)"
xe() { echo "$xout"; }
xout="$(xrandr)"
xe() { echo "$xout"; }
-x=$(xe | grep -E
'^(DisplayPort-[0123]|DVI-0|DP-[1234]|DVI-I-1) connected' | wc -l
)
+x=$(xe | grep -E
c '^(DisplayPort-[0123]|DVI-0|DP-[1234]|DVI-I-1) connected'
)
if (( x > 2 )); then
left=$(xe | sed -rn 's/^(DVI[^ ]+) connected .*/\1/p')
dps=( $(xe | sed -rn 's/^(DP-[01234]|DisplayPort-[01234]) connected .*/\1/p') )
if (( x > 2 )); then
left=$(xe | sed -rn 's/^(DVI[^ ]+) connected .*/\1/p')
dps=( $(xe | sed -rn 's/^(DP-[01234]|DisplayPort-[01234]) connected .*/\1/p') )
@@
-50,11
+50,5
@@
if isarch; then
pulseaudio --start
fi
pulseaudio --start
fi
-/a/exe/lnf -T /p/arbtt-capture.log ~/.arbtt/capture.log
-# docs say a sample rate less than 20 is probably not worth the data cost,
-# but it seems pretty small to me
-arbtt-capture --sample-rate=10 &
-
-
#indicator-kdeconnect
date "+%A, %B %d, %r, %S seconds" > /tmp/desktop-20-autostart-log
#indicator-kdeconnect
date "+%A, %B %d, %r, %S seconds" > /tmp/desktop-20-autostart-log