aboutsummaryrefslogtreecommitdiff
path: root/awesome/rc.lua
diff options
context:
space:
mode:
authorVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2020-12-22 14:25:28 +0530
committerVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2020-12-22 14:25:28 +0530
commit3a17791961e982022cdd53e52b3f2a1bdb35a567 (patch)
tree271e98fc6f5cd849d038a591845328a84d833ff0 /awesome/rc.lua
parente5187c31d45d0242f0ee25d907110ae32c22ef2f (diff)
added keybindings to modify gaps on runtime (there is an error)
Diffstat (limited to 'awesome/rc.lua')
-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,
})