diff options
author | Mateja <mail@matejamaric.com> | 2020-11-25 22:56:55 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-11-25 22:56:55 +0100 |
commit | 8c2b8522ef77f8801885b44ca34c5c5ab8164be2 (patch) | |
tree | f8ec634a89ee29edcd6b03b603bdc49c9dc4f9a3 /stuff/scripts | |
parent | da3df637a566001805532b57c534e6fc1c7aacf4 (diff) | |
download | dotfiles-8c2b8522ef77f8801885b44ca34c5c5ab8164be2.tar.gz dotfiles-8c2b8522ef77f8801885b44ca34c5c5ab8164be2.zip |
More qtile keybindings and better autostart.sh
Diffstat (limited to 'stuff/scripts')
-rwxr-xr-x | stuff/scripts/mpd_show | 6 |
1 files changed, 6 insertions, 0 deletions
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" |