Added media keys in mappings
This commit is contained in:
parent
82858ab724
commit
c3f00795ba
1 changed files with 12 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ local mappings = {
|
|||
},
|
||||
-- Screen locker
|
||||
{
|
||||
mod = { 'Super' },
|
||||
mod = 'Super',
|
||||
key = 'O',
|
||||
command = { 'spawn', [['waylock -init-color 0x352e2c -input-color 0x575e7a -fail-color 0x833b18']] }
|
||||
},
|
||||
|
|
@ -246,6 +246,17 @@ local mappings = {
|
|||
key = 'F',
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue