diff options
Diffstat (limited to 'awesome/keybindings.lua')
-rw-r--r-- | awesome/keybindings.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/awesome/keybindings.lua b/awesome/keybindings.lua index ec5475a..7908281 100644 --- a/awesome/keybindings.lua +++ b/awesome/keybindings.lua @@ -6,6 +6,7 @@ local menubar = require("menubar") -- when client with a matching name is opened: -- require("awful.hotkeys_popup.keys") +-- Shortcuts for readable keybinds local super = "Mod4" local alt = "Mod1" local shift = "Shift" @@ -57,8 +58,8 @@ globalkeys = gears.table.join( key(w , "h", function () awful.tag.incmwfact(-0.05) end, { group = "layout" , description = "decrease master width factor" }), key(ws, "h", function () awful.tag.incnmaster( 1, nil, true) end, { group = "layout" , description = "increase the number of master clients" }), key(ws, "l", function () awful.tag.incnmaster(-1, nil, true) end, { group = "layout" , description = "decrease the number of master clients" }), - key(wc, "h", function () awful.tag.incncol( 1, nil, true) end, { group = "layout" , description = "increase the number of columns" }), - key(wc, "l", function () awful.tag.incncol(-1, nil, true) end, { group = "layout" , description = "decrease the number of columns" }), + --key(wc, "h", function () awful.tag.incncol( 1, nil, true) end, { group = "layout" , description = "increase the number of columns" }), + --key(wc, "l", function () awful.tag.incncol(-1, nil, true) end, { group = "layout" , description = "decrease the number of columns" }), key(w , "m", function () awful.layout.set(awful.layout.suit.max) end, { group = "layout" , description = "change to max layout" }), key(w , "t", function () awful.layout.set(awful.layout.suit.tile) end, { group = "layout" , description = "change to tile layout" }), key(w , "r", function () awful.screen.focused().mypromptbox:run() end, { group = "launcher", description = "run prompt" }), @@ -95,11 +96,11 @@ globalkeys = gears.table.join( local beautiful = require("beautiful") local function protectClient(c) c.prevent_kill = true - c.border_width = beautiful.border_width * 3 + c.screen:emit_signal("arrange") end local function unProtectClient(c) c.prevent_kill = false - c.border_width = beautiful.border_width + c.screen:emit_signal("arrange") end local function killClient(c) if c.prevent_kill == nil or not c.prevent_kill then |