From 6ceab7ed38ead8141bd19a1180ed0792ae517803 Mon Sep 17 00:00:00 2001 From: Mateja Date: Thu, 1 Oct 2020 23:21:04 +0200 Subject: mpd keyboard controls --- .config/qtile/config.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 5216098..58461e8 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -32,6 +32,12 @@ keys = [ desc="Eject USB"), Key([mod, "control"], "p", lazy.spawn("scrot -ze 'mv $f ~/stuff/pictures/screenshots/'"), desc="Take a screenshot"), + Key([mod], "x", lazy.spawn("mpc toggle"), + desc="Pause/Resume MPD playback"), + Key([mod], "z", lazy.spawn("mpc next"), + desc="MPD next song"), + Key([mod, "shift"], "z", lazy.spawn("mpc prev"), + desc="MPD previous song"), # Switch between windows in current stack pane Key([mod], "k", lazy.layout.down(), -- cgit v1.2.3