dotfiles/.local/bin/statusbar/headset_connected
2021-02-26 09:06:18 +01:00

6 lines
139 B
Bash
Executable File

#!/bin/sh
if pactl list sinks | grep -qE 'device.icon_name = \"audio-(headset|headphones)-bluetooth\"'; then
printf '🎧'
fi
printf '\n'