mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-21 01:25:42 +02:00
music: replace Spotify by Deezer
This commit is contained in:
parent
0ee6cfafe8
commit
4af98c2589
7 changed files with 4 additions and 26 deletions
|
@ -43,6 +43,7 @@ application_icons = {
|
|||
"chromium": icon(3, ""),
|
||||
"d-feet": icon(2, ""),
|
||||
"darktable": icon(2, ""),
|
||||
"deezer": icon(3, ""),
|
||||
"discord": icon(3, ""),
|
||||
"draw.io": icon(2, ""),
|
||||
"emacs": icon(2, ""),
|
||||
|
@ -58,6 +59,7 @@ application_icons = {
|
|||
"jitsi meet": icon(2, ""),
|
||||
"libreoffice": icon(2, "📄"),
|
||||
"mednafen": icon(2, ""),
|
||||
"mellowplayer3": icon(3, ""),
|
||||
"mpv": icon(2, ""),
|
||||
"nestopia": icon(2, ""),
|
||||
"org.gnome.maps": icon(2, ""),
|
||||
|
|
|
@ -41,7 +41,7 @@ media-playback-pause Pause
|
|||
media-playback-stop Stop
|
||||
go-next Next track
|
||||
multimedia-volume-control Open mixer panel
|
||||
com.spotify.Client Open ${Mediaplayer}
|
||||
com.gitlab.ColinDuquesnoy.MellowPlayer Open ${Mediaplayer}
|
||||
EOF
|
||||
|
||||
# Player status
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Kill all spotify streams, except the most recent one.
|
||||
|
||||
pactl list short clients \
|
||||
| awk '($3 == "spotify") {print $1}' \
|
||||
| head -n-1 \
|
||||
| xargs -rn1 pacmd kill-client
|
2
config
2
config
|
@ -6,7 +6,7 @@ set $down k
|
|||
set $left j
|
||||
set $right semicolon
|
||||
set $term vbeterm
|
||||
set $mediaplayer spotify
|
||||
set $mediaplayer MellowPlayer3
|
||||
set $borderpx 3
|
||||
|
||||
font pango:Iosevka Aile 9
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
[Unit]
|
||||
Description=Clean spotify extra PulseAudio streams
|
||||
After=sound.target
|
||||
|
||||
[Service]
|
||||
ExecStart=%h/.config/i3/bin/spotify-clean
|
||||
Type=oneshot
|
||||
RemainAfterExit=false
|
|
@ -1,7 +0,0 @@
|
|||
[Unit]
|
||||
Description=Timer for cleaning spotify extra PA streams
|
||||
After=pulseaudio.socket
|
||||
|
||||
[Timer]
|
||||
OnUnitActiveSec=1h
|
||||
OnStartupSec=1h
|
|
@ -8,7 +8,6 @@ Wants=picom.service
|
|||
Wants=policykit-agent.service
|
||||
Wants=pulseaudio.socket
|
||||
Wants=redshift.service
|
||||
Wants=spotify-clean.timer
|
||||
Wants=ssh-agent.service
|
||||
Wants=weather.service
|
||||
Wants=weather.timer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue