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