aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xawesome/rc.lua16
1 files changed, 10 insertions, 6 deletions
diff --git a/awesome/rc.lua b/awesome/rc.lua
index 696cc3ef..b2e80558 100755
--- a/awesome/rc.lua
+++ b/awesome/rc.lua
@@ -86,11 +86,6 @@ awful.layout.layouts = {
-- awful.layout.suit.corner.se,
}
-
-function sh(command)
- awful.spawn.with_shell(command)
-end
-
-- Keyboard map indicator and switcher
mykeyboardlayout = awful.widget.keyboardlayout()
@@ -343,8 +338,17 @@ tagKeys = gears.table.join(
if client.focus then
client.focus:toggle_tag(tag12)
end
+ end),
+
+ -- modify gaps
+ awful.key({ "Mod1", "Shift", }, "j", function()
+ beautiful.useless_gap = beautiful.useless_gap - 1
+ end),
+ awful.key({ "Mod1", "Shift", }, "k", function()
+ beautiful.useless_gap = beautiful.useless_gap + 1
end)
)
+
-- keybindings to handle clients
-- i.e minimizing, maximizing, hiding, closing windows
clientkeys = gears.table.join(
@@ -477,7 +481,7 @@ tag11 = awful.tag.add("十一", {
screen = awful.screen.focused(),
layout = awful.layout.suit.floating,
})
-tag12 = awful.tag.add("十三", {
+tag12 = awful.tag.add("十二", {
screen = awful.screen.focused(),
layout = awful.layout.suit.floating,
})