Commit 13d434c2b2ac6b0678b023c2a1ba2fcba1958da5 Parent: 26b2094257ed1de41791e00c0a6be75dc244c0cd Author: mcol <mcol@posteo.net> Date: 2021-11-13 13:09:29 +0000 Committer: mcol <mcol@posteo.net> Committed: 2021-11-13 13:09:29 +0000 Add Mpd2 next/prev to keybindings
config.py Modified
@@ -153,6 +153,12 @@ ([mod], 'F5', lazy.widget['backlight'].change_backlight(ChangeDirection.DOWN, 5), "Decrease backlight"), + # Music control + ([mod], 'bracketright', + lazy.widget['mpd2'].function(lambda w: w.button_press(0, 0, 5)), "Next song"), + ([mod], 'bracketleft', + lazy.widget['mpd2'].function(lambda w: w.button_press(0, 0, 4)), "Previous song"), + # Launchers ([mod], 'd', lazy.spawncmd(), "Spawn with Prompt"), ([mod], 'Return', lazy.spawn(term), "Spawn terminal"),