dotfiles

Linux and macOS dotfiles
git clone https://github.com/michaelneuper/dotfiles.git
README | Files | Log | Refs

dotfiles/.config/polybar/scripts/scroll_mpris_status_mod.sh (516B)


#!/bin/bash

cmd="${0%/*}/get_mpris_status.sh $1"

zscroll -l 50 \
    --scroll-padding "$(printf ' %.0s' {1..8})" \
    -d 0.5 \
    -M "$cmd icon" \
    -m "none"       "-b ''" \
    -m "browser"    "-b ' '" \
    -m "netflix"    "-b 'ﱄ '" \
    -m "youtube"    "-b ' '" \
    -m "prime"      "-b ' '" \
    -m "spotify"    "-b ' '" \
    -m "vlc"        "-b '嗢 '" \
    -m "mpv"        "-b ' '" \
    -m "kdeconnect" "-b ' '" \
    -m "corridor"   "-b ' '" \
    -U 1 -u t "$cmd" &

wait