Permalink
Browse files

modified autokey running

  • Loading branch information...
1 parent 4c602e4 commit d45eae08b99a2d9bc14f7007f51312ccbde1ff96 @HavonaMadama HavonaMadama committed Sep 30, 2011
Showing with 7 additions and 1 deletion.
  1. +1 −1 @@config__awesome/rc.lua
  2. +6 −0 scripts__autokey
View
2 @@config__awesome/rc.lua
@@ -572,7 +572,7 @@ autorunAppsLocal = {
if hostname == "ace-VirtualBox" then
autorunAppsLocal =
{
- "autokey"
+ "/home/ace/scripts/autokey"
}
end
View
6 scripts__autokey
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+COUNT=$( ps -aef | egrep '/usr/bin/au[t]okey' | wc -l )
+if [[ $COUNT == 0 ]]; then
+ /usr/bin/autokey
+fi

0 comments on commit d45eae0

Please sign in to comment.