Browse files

added a rule for Awesome Window Manager

  • Loading branch information...
1 parent 49c3e37 commit 94f20fb3013a0ee559fc8e0fd62b796c7673b13d IanGee committed May 17, 2012
Showing with 21 additions and 0 deletions.
  1. +21 −0 rules/awesome.lua
View
21 rules/awesome.lua
@@ -0,0 +1,21 @@
+--[[
+ Copyright 2010,2011,2012 ulatencyd developers
+
+ This file is part of ulatencyd.
+
+ License: GNU General Public License 3 or later
+]]--
+
+AwesomeUI = {
+ name = "AwesomeUI",
+ re_basename = "awesome",
+ check = function(self, proc)
+ local flag = ulatency.new_flag{name="user.ui"}
+ proc:add_flag(flag)
+ proc:set_oom_score(-400)
+ rv = ulatency.filter_rv(ulatency.FILTER_STOP)
+ return rv
+ end
+}
+
+ulatency.register_filter(AwesomeUI)

0 comments on commit 94f20fb

Please sign in to comment.