dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit ee7c78a4f2ece6f1ce933799c1ab9f62eb548830
parent 9fa835ce46c8fd8a164122bfd99a9b9a3703629f
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Mon, 22 Jun 2020 12:02:21 +0200

youtube-mpv-player: add a notification and idling

Former-commit-id: c9232df31a081c9d02fee8143742e34fa094a0e8
Diffstat:
Mscripts/youtube-mpv-player | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/youtube-mpv-player b/scripts/youtube-mpv-player @@ -5,8 +5,9 @@ fi if pgrep -f MPV-Q > /dev/null then printf "%s\n" "loadfile \"$1\" append-play" > $HOME/.cache/mpv/input + terminal-notifier -title "Video queued" -message "Added to queue successfully" -group "mpv" &>/dev/null else - mpv --volume=50 --no-terminal --x11-name=MPV-Q --input-file=$HOME/.cache/mpv/input --player-operation-mode=pseudo-gui "$1" & + mpv --idle=yes --volume=50 --no-terminal --x11-name=MPV-Q --input-file=$HOME/.cache/mpv/input --player-operation-mode=pseudo-gui "$1" & fi #link archive