Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.79 KB

README.md

File metadata and controls

30 lines (19 loc) · 1.79 KB

mpd-scripts

Small collection of scripts for controlling MPD, usually using mpc. Note: All desktop notifications are set to replace each other. This means that, for example, spamming the mpd-playpause script will NOT flood your screen with notifications.

mpd-next

Uses mpc to skip to the next song. Calls the songinfo script to display the information of the next song in the form of a desktop notification. You will probably need to change the path to the songinfo script.

mpd-playpause

Uses mpc to toggle playback. Sends a notification with the action performed.

image

image

Dunst notification daemon, Catppuccin color scheme. (Note: Nerd Font icons are used for play/pause icons in these screenshots. The script in this repo have play/pause emojis instead.)

mpd-volume

Takes one argument, formatted as [+-]. For example mpd-volume +5 will increase volume by 5%, and mpd-volume -2 will decrease volume by 2%. Script will exit with an error code if this argument is blank. Will send a notification with a bar showing the new volume.

image

Dunst notification daemon, Catppuccin color scheme.

songinfo

From the ArchWiki article on ncmpcpp. Shows a desktop notification with the current playing track, with album art. Edit musicdir and previewdir to match your setup. Make sure previewdir exists, or else album are will not work.

image