ArcoLinux -D -B 19.1 iso's have been released

[INFO] Playing spotify (playerctl) and use keyboard buttons play pause next previous stop

Post Reply
User avatar
erikdubois
Captain
Posts: 1771
Joined: Tue Nov 07, 2017 2:45 pm
Location: Belgium
Contact:
Belgium
[INFO] Playing spotify (playerctl) and use keyboard buttons play pause next previous stop

Post by erikdubois » Mon Oct 01, 2018 6:25 am

To be able to use the use keyboard buttons play pause next previous stop you need to edit the file in
~/.config/sdhkd/sxhdrc

DELETE THE LINES talking about mpc

Code: Select all

#########################
#     MULTIMEDIA KEYS   #
#########################

#Raises volume
XF86AudioRaiseVolume
    amixer set Master 10%+

#Lowers volume
XF86AudioLowerVolume
    amixer set Master 10%-

#Mute
XF86AudioMute
    amixer -D pulse set Master 1+ toggle

#Playerctl works for Pragha, Spotify and others
#mpc works for ncmpcpp

#PLAY
XF86AudioPlay
    playerctl play-pause

#Next
XF86AudioNext
    playerctl next

#previous
XF86AudioPrev
    playerctl previous

#Stop
XF86AudioStop
    playerctl stop
There will always be a backup in your /etc/skel
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
and only then use the power of our moderators.


Post Reply

Return to “BYOI ArcoLinuxB Bspwm”