Improve awesome keybindings
This commit is contained in:
parent
7135b409e5
commit
8414dd22b9
|
@ -255,14 +255,17 @@ globalkeys = gears.table.join(
|
||||||
awful.key({ }, "Print", function () awful.util.spawn("flameshot gui -p ~/shots", false) end),
|
awful.key({ }, "Print", function () awful.util.spawn("flameshot gui -p ~/shots", false) end),
|
||||||
|
|
||||||
-- Volume widget
|
-- Volume widget
|
||||||
awful.key({ modkey, }, "F3", function() volume_widget:inc(5) end),
|
awful.key({ modkey, }, "F3", function() volume_widget:inc(5) end, {description = "increase volume", group = "custom"}),
|
||||||
awful.key({ modkey, }, "F2", function() volume_widget:dec(5) end),
|
awful.key({ modkey, }, "F2", function() volume_widget:dec(5) end, {description = "decrease volume", group = "custom"}),
|
||||||
awful.key({ modkey, }, "F1", function() volume_widget:toggle() end),
|
awful.key({ modkey, }, "F1", function() volume_widget:toggle() end, {description = "toggle mute", group = "custom"}),
|
||||||
|
|
||||||
-- Brightness widget
|
-- Brightness widget
|
||||||
awful.key({ modkey, }, "F6", function () brightness_widget:inc() end, {description = "increase brightness", group = "custom"}),
|
awful.key({ modkey, }, "F6", function () brightness_widget:inc() end, {description = "increase brightness", group = "custom"}),
|
||||||
awful.key({ modkey, }, "F5", function () brightness_widget:dec() end, {description = "decrease brightness", group = "custom"}),
|
awful.key({ modkey, }, "F5", function () brightness_widget:dec() end, {description = "decrease brightness", group = "custom"}),
|
||||||
|
|
||||||
|
-- cmus toggle paused
|
||||||
|
awful.key({ modkey, "Shift" }, "p", function () awful.spawn("cmus-remote -u") end, {description = "play/pause cmus", group = "custom"}),
|
||||||
|
|
||||||
awful.key({ modkey, }, "s", hotkeys_popup.show_help,
|
awful.key({ modkey, }, "s", hotkeys_popup.show_help,
|
||||||
{description="show help", group="awesome"}),
|
{description="show help", group="awesome"}),
|
||||||
awful.key({ modkey, }, "Left", awful.tag.viewprev,
|
awful.key({ modkey, }, "Left", awful.tag.viewprev,
|
||||||
|
|
Loading…
Reference in New Issue