aboutsummaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2021-05-12 17:32:01 +0300
committerla-ninpre <leobrekalini@gmail.com>2021-05-12 17:32:01 +0300
commitc979d551243f20ef96ef515f6e8fbd3b490e0568 (patch)
tree57a6a6cc9f3c2de0ffc05b60d2e8ee54bcec1794 /.local
parente7a9d22323ac001625abfde876178d8234ac868d (diff)
downloaddotfiles-c979d551243f20ef96ef515f6e8fbd3b490e0568.tar.gz
dotfiles-c979d551243f20ef96ef515f6e8fbd3b490e0568.zip
bashrc: add mocp alias
bash_profile: change browser to brave add moc config add mocpnotify script
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/mocpnotify11
1 files changed, 11 insertions, 0 deletions
diff --git a/.local/bin/mocpnotify b/.local/bin/mocpnotify
new file mode 100755
index 0000000..f3aa72c
--- /dev/null
+++ b/.local/bin/mocpnotify
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+case $1 in
+ "next")
+ notify-send -a mocp -t 3000 "now playing" "$2 - $3 [$4]"
+ ;;
+ "stop")
+ notify-send -a mocp -t 3000 "mocp" "stopped playing"
+ ;;
+esac
+