This repository has been archived on 2025-01-31. You can view files and clone it, but cannot push or open issues or pull requests.
Files
.bin
mpc
mpc-i3-consume
mpc-i3-playlists
mpc-i3-repeat
mpc-i3-shuffle
powerline-shell
.bashrc-global
.directory
bashrc.sh
bashrc.sh.bak
colortest
mklatex
powerline-shell.py
test-notifications
wal-set
xephrice
xrdbupdate
.config
.local
.ncmpcpp
.oh-my-zsh
.themes
.vim
.Xdefaults
.Xresources
.bash_profile
.profile
.vimrc
.xinitrc
.xsessionrc
.zshrc
README.md
home/.bin/mpc/mpc-i3-repeat

7 lines
270 B
Bash
Executable File

#!/bin/bash
if [[ "$(mpc repeat)" == *"repeat: on"* ]]; then
notify-send -a "Mopidy" -u low -t 1 "Repeat On" "The playlist will be repeated after it is completed"
else
notify-send -a "Mopidy" -u low -t 1 "Repeat Off" "Playback will stop at the end of the playlist"
fi