#!/bin/bash

app="fzf"
[ ! -z $2 ] && [ $2 == "dmenu" ] && app="dmenu -i -b";


[ $1 == "b" ] && zathura "$(find ~/Mounts/hdd2/Books/ -type f | $app)"; 
[ $1 == "y" ] && mpv --force-window=yes "$(find ~/Mounts/hdd2/YouTube/ -type f | $app)";
[ $1 == "m" ] && mpv --force-window=yes "$(find ~/Mounts/hdd2/Movies\ \&\ Series/ -type f | $app)";
[ $1 == "a" ] && mpv --force-window=yes "$(find ~/Mounts/hdd2/Audiobooks/ | $app)";
