From 495cc4c025f89a66b4b7d287e11de11577382f8b Mon Sep 17 00:00:00 2001 From: ThanosApollo Date: Mon, 29 Aug 2022 08:21:09 +0300 Subject: Add spotify-control keybindings --- .config/qtile/config.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to '.config/qtile') diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 1e50e8c..66191ea 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -186,17 +186,17 @@ keys = [ lazy.spawn('amixer sset Master 5%+'), desc="Increase volume" ), - ### Music + ### Spotify Key([mod, "shift"], "p", - lazy.spawn("playerctl play-pause"), + lazy.spawn("spotify-control play-pause"), desc="play/pause music" ), - Key([mod, "shift"], "l", - lazy.spawn("playerctl next"), + Key([mod, "shift"], "n", + lazy.spawn("spotify-control next"), desc="next song" ), - Key([mod, "shift"], "h", - lazy.spawn("playerctl previous"), + Key([mod, "shift"], "b", + lazy.spawn("spotify-control previous"), desc="previous song" ), ### Change languages @@ -494,4 +494,5 @@ auto_fullscreen = True focus_on_window_activation = "focus" # or smart + wmname = "Qtile-Apo11o" -- cgit v1.2.3