|
@@ -509,11 +509,11 @@ awful.rules.rules = { |
|
|
}, properties = { floating = true }}, |
|
|
}, properties = { floating = true }}, |
|
|
|
|
|
|
|
|
-- @DOC_DIALOG_RULE@ |
|
|
-- @DOC_DIALOG_RULE@ |
|
|
-- Add titlebars to normal clients and dialogs |
|
|
|
|
|
|
|
|
--[[ -- Add titlebars to normal clients and dialogs |
|
|
{ rule_any = {type = { "normal", "dialog" } |
|
|
{ rule_any = {type = { "normal", "dialog" } |
|
|
-- @DOC_CSD_TITLEBARS@ |
|
|
-- @DOC_CSD_TITLEBARS@ |
|
|
}, properties = { titlebars_enabled = true } |
|
|
}, properties = { titlebars_enabled = true } |
|
|
}, |
|
|
|
|
|
|
|
|
}, ]] |
|
|
|
|
|
|
|
|
-- Set Firefox to always map on the tag named "2" on screen 1. |
|
|
-- Set Firefox to always map on the tag named "2" on screen 1. |
|
|
-- { rule = { class = "Firefox" }, |
|
|
-- { rule = { class = "Firefox" }, |
|
@@ -539,7 +539,7 @@ end) |
|
|
|
|
|
|
|
|
-- @DOC_TITLEBARS@ |
|
|
-- @DOC_TITLEBARS@ |
|
|
-- Add a titlebar if titlebars_enabled is set to true in the rules. |
|
|
-- Add a titlebar if titlebars_enabled is set to true in the rules. |
|
|
client.connect_signal("request::titlebars", function(c) |
|
|
|
|
|
|
|
|
--[[ client.connect_signal("request::titlebars", function(c) |
|
|
-- buttons for the titlebar |
|
|
-- buttons for the titlebar |
|
|
local buttons = gears.table.join( |
|
|
local buttons = gears.table.join( |
|
|
awful.button({ }, 1, function() |
|
|
awful.button({ }, 1, function() |
|
@@ -576,7 +576,7 @@ client.connect_signal("request::titlebars", function(c) |
|
|
}, |
|
|
}, |
|
|
layout = wibox.layout.align.horizontal |
|
|
layout = wibox.layout.align.horizontal |
|
|
} |
|
|
} |
|
|
end) |
|
|
|
|
|
|
|
|
end) ]] |
|
|
|
|
|
|
|
|
-- Enable sloppy focus, so that focus follows mouse. |
|
|
-- Enable sloppy focus, so that focus follows mouse. |
|
|
--[[ client.connect_signal("mouse::enter", function(c) |
|
|
--[[ client.connect_signal("mouse::enter", function(c) |
|
|