summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThanosApollo <[email protected]>2022-08-29 08:21:09 +0300
committerThanosApollo <[email protected]>2022-08-29 08:21:09 +0300
commit495cc4c025f89a66b4b7d287e11de11577382f8b (patch)
tree2b20a10f48b9531d7bc0e648e3cb5fcd2f7d5de1 /.config
parent21f5614b881bd4cdfc256ae7f273cf5a07879543 (diff)
Add spotify-control keybindings
Diffstat (limited to '.config')
-rw-r--r--.config/qtile/config.py13
1 files changed, 7 insertions, 6 deletions
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"