Skip to content

Commit

Permalink
volume keys
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintRyoh committed Nov 4, 2023
1 parent 185c12e commit e07dff8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rabbithole/components/keys/global.lua
Expand Up @@ -183,6 +183,14 @@ return setmetatable({}, {
function() awful.spawn(settings.default_programs.brightness_down, false) end,
{ description = "decrease brightness", group = "hotkeys" }),

-- Volume Keys
awful.key({ }, "XF86AudioRaiseVolume",
function() awful.spawn(settings.default_programs.volume_up, false) end,
{ description = "increase volume", group = "hotkeys" }),
awful.key({}, "XF86AudioLowerVolume",
function() awful.spawn(settings.default_programs.volume_down, false) end,
{ description = "decrease volume", group = "hotkeys" }),

-- Screenshot Tool
awful.key({ }, "Print", function() awful.spawn(settings.default_programs.screenshot_tool) end,
{ description = "Convert OCR image to text and copy to clipboard", group = "hotkeys" }),
Expand Down

0 comments on commit e07dff8

Please sign in to comment.