diff options
-rwxr-xr-x | awesome/rc.lua | 37 |
1 files changed, 2 insertions, 35 deletions
diff --git a/awesome/rc.lua b/awesome/rc.lua index 4a5ffdf8..750d14ec 100755 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -256,19 +256,6 @@ globalkeys = gears.table.join( {description = "view next", group = "tag"}), awful.key({ "Mod1", }, "Tab", awful.tag.history.restore, {description = "go back", group = "tag"}), - --- awful.key({ "Mod4", }, "j", --- function () --- awful.client.focus.byidx( 1) --- end, --- {description = "focus next by index", group = "client"} --- ), --- awful.key({ "Mod4", }, "k", --- function () --- awful.client.focus.byidx(-1) --- end, --- {description = "focus previous by index", group = "client"} --- ), awful.key({ "Mod4" }, "j", function () awful.client.focus.bydirection("down") if client.focus then client.focus:raise() end end), @@ -281,21 +268,7 @@ globalkeys = gears.table.join( awful.key({ "Mod4" }, "l", function () awful.client.focus.bydirection("right") if client.focus then client.focus:raise() end end), - awful.key({ "Mod1", }, "j", - function () - awful.client.focus.byidx( 1) - end, - {description = "focus next by index", group = "client"} - ), - awful.key({ "Mod1", }, "k", - function () - awful.client.focus.byidx(-1) - end, - {description = "focus previous by index", group = "client"} - ), - awful.key({ modkey, }, "w", function () mymainmenu:show() end, - {description = "show main menu", group = "awesome"}), - + -- Layout manipulation awful.key({ "Mod4", "Shift" }, "h", function () awful.client.swap.bydirection("left") end, {description = "move client to the left", group = "client"}), @@ -504,7 +477,7 @@ awful.rules.rules = { border_color = beautiful.border_normal, focus = awful.client.focus.filter, raise = true, - titlebars_enabled = true, + titlebars_enabled = false, keys = clientkeys, buttons = clientbuttons, screen = awful.screen.preferred, @@ -535,14 +508,8 @@ awful.rules.rules = { } }, properties = { floating = false, above = true, - titlebars_enabled = true, }}, - -- Add titlebars to normal clients and dialogs - { rule_any = {type = { "normal", "dialog" } - }, properties = { titlebars_enabled = false } - }, - -- Set Firefox to always map on the tag named "2" on screen 1. { rule = { class = "Firefox" }, properties = { screen = 1, tag = "2" } }, |