Bindings and rules

This commit is contained in:
Alexander Gehrke 2023-10-27 11:11:35 +02:00
parent 81cba76bde
commit dcf3a84ba8
7 changed files with 40 additions and 55 deletions

View file

@ -135,7 +135,6 @@ awful.key({ modkey, "Shift" }, "l", screen_move_client_wrapdir("right")),
awful.key({ modkey, "Control" }, "o", function (c) c.ontop = not c.ontop end),
awful.key({ modkey, "Shift" }, "a", function (c) c.sticky = not c.sticky end),
awful.key({ modkey, "Shift" }, "r", function (c) c:redraw() end),
--awful.key({ modkey, }, "b", function (c) c.border_width = c.border_width > 0 and 0 or beautiful.border_width end),
awful.key({ modkey, }, "Up", function(c) client_opacity_set(c, 1, 1, 0.1) end),
awful.key({ modkey, }, "Down", function(c) client_opacity_set(c, 1, 0, -0.1) end),
awful.key({ }, "XF86Calculater", awful.client.movetoscreen ),
@ -216,8 +215,6 @@ local default_bindings = awful.util.table.join(
awful.key({ modkey, "Shift" }, "k", function ()
awful.client.swap.byidx( -1)
end),
--awful.key({ modkey, }, "h", screen_focus_wrapdir("left")),
--awful.key({ modkey, }, "l", screen_focus_wrapdir("right")),
awful.key({ modkey, }, "h", function() awful.screen.focus_relative(1) end),
awful.key({ modkey, }, "l", function() awful.screen.focus_relative(-1) end),
--}}}
@ -228,14 +225,6 @@ local default_bindings = awful.util.table.join(
awful.key({ modkey, "Control" }, "space", mb.grabf{keymap=layoutsettings, name="Layout settings", stay_in_mode=true}),
--}}}
--{{{ Audio control
--awful.key({ }, "XF86AudioLowerVolume", spawnf("amixer set Master 2%-")),
--awful.key({ }, "XF86AudioRaiseVolume", spawnf("amixer set Master 2%+")),
--awful.key({ }, "XF86AudioMute", spawnf("amixer set Master toggle")),
--}}}
--{{{ Prompt
awful.key({ modkey }, "r", conf.cmd.run),