From 8c2b8522ef77f8801885b44ca34c5c5ab8164be2 Mon Sep 17 00:00:00 2001 From: Mateja Date: Wed, 25 Nov 2020 22:56:55 +0100 Subject: More qtile keybindings and better autostart.sh --- stuff/scripts/mpd_show | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 stuff/scripts/mpd_show (limited to 'stuff') diff --git a/stuff/scripts/mpd_show b/stuff/scripts/mpd_show new file mode 100755 index 0000000..8d14a1d --- /dev/null +++ b/stuff/scripts/mpd_show @@ -0,0 +1,6 @@ +#!/bin/sh + +raw="$(mpc)" +song=$(echo "$raw" | sed -n '1p') +time=$(echo "$raw" | sed -n '2p') +notify-send "$song" "$time" -- cgit v1.2.3