Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (34 sloc) 0.56 kb
# Begin ~/.bash/funs
# Personal functions
x(){
xinit -- \
"$@" \
-nolisten tcp
}
wm (){
# undone
_WM="$1"
shift
WM="$_WM" x "$@"
}
m () {
xmms2 clear
local was_playlist=no
for pl in *.cue *.Cue
do
if [ -f "$pl" ]; then
was_playlist=yes
xmms2 addpls "$pl"
fi
done
if [ "$was_playlist" = "no" ]; then
xmms2 add .
fi
}
# gentooism: ${CATEGORY}/${PN} for current dir
cpn() {
local d=$(pwd)
local pn=$(basename "$d")
local c=$(basename "$(dirname "$d")")
echo "${c}/${pn}"
}
Jump to Line
Something went wrong with that request. Please try again.