Permalink
Browse files

Merge pull request #34 from IanGee/working

added a rule for Awesome Window Manager
  • Loading branch information...
poelzi committed Jun 14, 2012
2 parents 49c3e37 + 94f20fb commit 788eba7538fa45a760f60408e8e1b0f09d1d26d4
Showing with 21 additions and 0 deletions.
  1. +21 −0 rules/awesome.lua
View
@@ -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 788eba7

Please sign in to comment.