Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix script/update-user-apps.sh and create simple.d/applications.conf …

…template
  • Loading branch information...
commit 8ef37a58ac1b35c1b36e533a0b6a253a0e8e14fb 1 parent 5fd5e3f
@gajdusek gajdusek authored
Showing with 12 additions and 2 deletions.
  1. +7 −0 conf/simple.d/applications.conf
  2. +5 −2 scripts/update-user-apps.sh
View
7 conf/simple.d/applications.conf
@@ -0,0 +1,7 @@
+# desktop applications boosted when starting
+# Automatically generated by /usr/lib/ulatencyd/update-user-apps.sh
+#
+# To exclude some application comment the line with #. Such commented lines are preserved.
+# To include custom applications put them in own simple rules file(s).
+
+#"/usr/bin/killall" application.starting
View
7 scripts/update-user-apps.sh
@@ -63,12 +63,15 @@ done | sort -u >$INTERPRETERS
COMMENTED=$(tempfile)
COMMENTED_APPLIED=$(tempfile)
-sed -n "/#[^[:blank:]].*$flag_name /p" "$output" | sed "s/ $flag_name .*$/ $flag_name /" | sort -u >$COMMENTED
+sed -n "/#[^[:blank:]].*$flag_name\b/p" "$output" | sed "s/ $flag_name\b.*$/ $flag_name /" | sort -u >$COMMENTED
exec >"$output"
-echo "# desktop applications"
+echo "# desktop applications boosted when starting"
echo "# Automatically generated by $0 on $(date --rfc-3339=seconds)"
+echo "# "
+echo "# To exclude some application comment the line with #. Such commented lines are preserved."
+echo "# To include custom applications put them in own simple rules file(s)."
echo
# set DEBUG="yes" to log debug messages into DEBUG_LOG file
Please sign in to comment.
Something went wrong with that request. Please try again.