os+/+arch/bin/vol: check for osd_cat
This commit is contained in:
parent
7f43f56e71
commit
36104366aa
|
@ -18,8 +18,11 @@ case $1 in
|
|||
;;
|
||||
esac
|
||||
|
||||
# community/xosd
|
||||
if command -v osd_cat >/dev/null; then
|
||||
killall -9 -q osd_cat &>/dev/null
|
||||
osd_cat --font="10x20" --delay=2 --color=white --align=center --pos=bottom --barmode=percentage --percentage $($0) &
|
||||
fi
|
||||
|
||||
# Report to lemonbar, if active
|
||||
$HOME/.config/panel/panel-notify :volume
|
||||
|
|
Loading…
Reference in a new issue