diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2021-05-12 17:32:01 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2021-05-12 17:32:01 +0300 |
| commit | c979d551243f20ef96ef515f6e8fbd3b490e0568 (patch) | |
| tree | 57a6a6cc9f3c2de0ffc05b60d2e8ee54bcec1794 /.local | |
| parent | e7a9d22323ac001625abfde876178d8234ac868d (diff) | |
| download | dotfiles-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/mocpnotify | 11 |
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 + |
