-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig
More file actions
38 lines (29 loc) · 1.08 KB
/
config
File metadata and controls
38 lines (29 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#-----------------------------------#
# Spoi3fy #
#-----------------------------------#
# bindsym to enter spotify mode, change the key combination to suit you better.
bindsym $mod+s mode "spotify"; exec "notify-send 'Spotify Mode'
# Spotify mode settings
mode "spotify" {
# Pause, resume and change tracks:
bindsym k exec spotifycli --playpause
bindsym l exec spotifycli --next
bindsym h exec spotifycli --prev
# alternatively, you can use the cursor keys:
# bindsym Left exec spotifycli --prev
# bindsym Right exec spotifycli --next
# bindsym Up exec spotifycli --playpause
# bindsym Down exec spotifycli --playpause
# Open spotify shurtcut:
bindsym o exec spotify
# Focus spotify workspace
bindsym f [class="^Spotify$"] focus
# Kill spotify window:
bindsym q exec pkill spotify
# exit spotify mode: Enter, Escape or Ctrl+C
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym Ctrl+c mode "default"
}
# Open spotify on dedicated workspace (replace '$ws10' with your preferred workspace)
for_window [class="^Spotify$"] move to workspace $ws10