From 4acea2fb0fa4740e66a808b50cb2986c2f2d2e78 Mon Sep 17 00:00:00 2001 From: Omar Magdy Date: Tue, 21 Jun 2022 15:07:25 +0200 Subject: Added a new themes to awesomeWM --- scripts/.scripts/spotify.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 scripts/.scripts/spotify.sh (limited to 'scripts') diff --git a/scripts/.scripts/spotify.sh b/scripts/.scripts/spotify.sh new file mode 100755 index 0000000..75204b8 --- /dev/null +++ b/scripts/.scripts/spotify.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:org.mpris.MediaPlayer2.Player string:Metadata | sed -n '/title/{n;p}' | cut -d '"' -f 2 -- cgit v1.2.3