Skip to content
Snippets Groups Projects
Commit ae6d44f8 authored by Martin Mareš's avatar Martin Mareš
Browse files

First two examples

parent 45ae3390
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
date '+%d-%m-%Y %H:%M:%S' | osdc -
#!/bin/sh
if [ -z "$1" -o -n "$2" ] ; then
echo >&2 "Usage: $0 [+|-]<percentage>"
exit 1
fi
mpc volume $1 | sed 's/.*volume: \([0-9]\+\)%.*/\1/;t;d' | osdc 'MPC Volume' '' --percent=-
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment