aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-01 23:21:04 +0200
committerMateja <mail@matejamaric.com>2020-10-01 23:21:04 +0200
commit6ceab7ed38ead8141bd19a1180ed0792ae517803 (patch)
tree5c7d08123c2b255686223ed41b12a71bef3ea164
parent31072759b0121a80e4fe504a0be7e5643e5eaff8 (diff)
downloaddotfiles-6ceab7ed38ead8141bd19a1180ed0792ae517803.tar.gz
dotfiles-6ceab7ed38ead8141bd19a1180ed0792ae517803.zip
mpd keyboard controls
-rw-r--r--.config/qtile/config.py6
1 files changed, 6 insertions, 0 deletions
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(),