Removed unnecessary hotkeys, added hotkey to toggle client titlebar
This commit is contained in:
parent
bc96e74916
commit
eaf02a52d2
@ -409,13 +409,14 @@ globalkeys = mytable.join(
|
||||
{description = "dropdown application", group = "launcher"}),
|
||||
|
||||
-- Widgets popups
|
||||
awful.key({ altkey, }, "c", function () if beautiful.cal then beautiful.cal.show(7) end end,
|
||||
--[[ awful.key({ altkey, }, "c", function () if beautiful.cal then beautiful.cal.show(7) end end,
|
||||
{description = "show calendar", group = "widgets"}),
|
||||
awful.key({ altkey, }, "h", function () if beautiful.fs then beautiful.fs.show(7) end end,
|
||||
{description = "show filesystem", group = "widgets"}),
|
||||
awful.key({ altkey, }, "w", function () if beautiful.weather then beautiful.weather.show(7) end end,
|
||||
{description = "show weather", group = "widgets"}),
|
||||
|
||||
]]--
|
||||
|
||||
-- Screen brightness
|
||||
--awful.key({ }, "XF86MonBrightnessUp", function () os.execute("xbacklight -inc 10") end,
|
||||
-- {description = "+10%", group = "hotkeys"}),
|
||||
@ -498,11 +499,11 @@ globalkeys = mytable.join(
|
||||
]]--
|
||||
|
||||
-- Copy primary to clipboard (terminals to gtk)
|
||||
awful.key({ modkey }, "c", function () awful.spawn.with_shell("xsel | xsel -i -b") end,
|
||||
{description = "copy terminal to gtk", group = "hotkeys"}),
|
||||
--awful.key({ modkey }, "c", function () awful.spawn.with_shell("xsel | xsel -i -b") end,
|
||||
-- {description = "copy terminal to gtk", group = "hotkeys"}),
|
||||
-- Copy clipboard to primary (gtk to terminals)
|
||||
awful.key({ modkey }, "v", function () awful.spawn.with_shell("xsel -b | xsel") end,
|
||||
{description = "copy gtk to terminal", group = "hotkeys"}),
|
||||
--awful.key({ modkey }, "v", function () awful.spawn.with_shell("xsel -b | xsel") end,
|
||||
-- {description = "copy gtk to terminal", group = "hotkeys"}),
|
||||
|
||||
-- User programs
|
||||
--awful.key({ modkey }, "q", function () awful.spawn(browser) end,
|
||||
@ -590,7 +591,13 @@ clientkeys = mytable.join(
|
||||
c.maximized_horizontal = not c.maximized_horizontal
|
||||
c:raise()
|
||||
end ,
|
||||
{description = "(un)maximize horizontally", group = "client"})
|
||||
{description = "(un)maximize horizontally", group = "client"}),
|
||||
-- Show/hide titlebar
|
||||
awful.key({ modkey, "Control" }, "s", function (c)
|
||||
awful.titlebar.toggle(c)
|
||||
c:raise()
|
||||
end,
|
||||
{description = "toggle titlebar", group = "client"})
|
||||
)
|
||||
|
||||
-- Bind all key numbers to tags.
|
||||
|
Loading…
Reference in New Issue
Block a user