From 77db4d39d8169b9519219b3a470d2de4f6a96706 Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 18 Dec 2024 18:50:15 +0000 Subject: [PATCH] [play_music.sh]: Add play_music.sh --- README.md | 1 + play_music.sh | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100755 play_music.sh diff --git a/README.md b/README.md index 1556d9f..4cfe1ba 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ - `hugo_post.sh`: simple script to create a new Hugo post with the directory structure `/content/blog/Post Title/index.md` instead of the default `/content/blog/Post Title.md` created when you run the command `hugo new content`. - `list_manual_pkgs.sh`: one-line script to list only the names of packages manually installed with the xbps package manager (the default Void package manager). + - `play_music.sh`: simple script to play music albums based off the supplied artist & album name. - `qutebrowser_search.sh`: script that finds all the search engines defined in the qutebrowser `config.py` configuration file and makes them available for searching via dmenu, i.e. allow web searching with qutebrowser without having to wait for it to start up before you start your search. - `repos_checker.sh`: script to find all of the Git repositories in the current directory & its sub-directories and display each found repository's `git status`. diff --git a/play_music.sh b/play_music.sh new file mode 100755 index 0000000..3ad3b54 --- /dev/null +++ b/play_music.sh @@ -0,0 +1,6 @@ +#!/bin/sh +# Simple script to play music albums based off the supplied artist & album name +artist="$1" +album="$2" + +setsid umpv "$HOME/media/music/$artist/$album/" &