Commit 8d3ac521 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Move fixed Awesome rules to user-defined.lua

Also ensures that rules are actually loaded.
parent de041933
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
@@ -7,22 +7,4 @@ function rules.add_rule(r)
end


rules.add_rule{
	rule_any = {
		role = {
			"Preferences",        -- |
			"EventDialog",        -- | Thunderbird
			"EventSummaryDialog", -- |
			"PasswordManager",    -- |
		},
		type = {
			"dialog",
		},
	},
	properties = {
		floating = true,
	}
}


return rules
+23 −0
Original line number Diff line number Diff line
local io = require("io")
local rules = require("rules")
local gears = require("gears")
local awful = require("awful")
local beautiful = require("beautiful")
@@ -69,3 +70,25 @@ if beautiful.wallpaper_cmd then
end

-- }}}


-- {{{ Global rules

rules.add_rule{
	rule_any = {
		role = {
			"Preferences",                           -- |
			"EventDialog",                           -- | Thunderbird
			"EventSummaryDialog",                    -- |
			"PasswordManager",                       -- |
			"News-BlogSubscriptions",                -- |
		},
		type = {
			"dialog",
		},
	},
	properties = {
		floating = true,
	}
}
 -- }}}