Added media keys in mappings

This commit is contained in:
Alexey 2025-01-26 13:02:20 +03:00
commit c3f00795ba

View file

@ -125,7 +125,7 @@ local mappings = {
}, },
-- Screen locker -- Screen locker
{ {
mod = { 'Super' }, mod = 'Super',
key = 'O', key = 'O',
command = { 'spawn', [['waylock -init-color 0x352e2c -input-color 0x575e7a -fail-color 0x833b18']] } command = { 'spawn', [['waylock -init-color 0x352e2c -input-color 0x575e7a -fail-color 0x833b18']] }
}, },
@ -246,6 +246,17 @@ local mappings = {
key = 'F', key = 'F',
command = 'toggle-fullscreen', command = 'toggle-fullscreen',
}, },
-- Media buttons
{
mod = 'None',
key = 'XF86AudioNext',
command = { 'spawn', [['mpc next && mpc toggle']] }
},
{
mod = 'None',
key = 'XF86AudioPlay',
command = { 'spawn', [['mpc toggle']] }
}
}, },
}, },
-- Mappings for pointer (mouse) -- Mappings for pointer (mouse)