OSDN Git Service
(root)
/
instantos
/
instantOS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d19f3b
)
spoticli notifications
author
paperbenni
<paperbenni@gmail.com>
Sun, 22 Mar 2020 23:45:27 +0000
(
00:45
+0100)
committer
paperbenni
<paperbenni@gmail.com>
Sun, 22 Mar 2020 23:45:27 +0000
(
00:45
+0100)
programs/spoticli
patch
|
blob
|
history
diff --git
a/programs/spoticli
b/programs/spoticli
index
b4ea6da
..
04f10c3
100755
(executable)
--- a/
programs/spoticli
+++ b/
programs/spoticli
@@
-4,6
+4,11
@@
## cli wrapper for spotify ##
#############################
+if ! [ -e /opt/spotify/spotify ]; then
+ notify-send "please run 'yay -S spotify' in a terminal to use this"
+ exit
+fi
+
if ! pgrep spotify &>/dev/null; then
LD_PRELOAD="/opt/instantos/spotify-adblock.so" spotify
exit