#!/bin/bash if [[ -n "$button" ]] then $HOME/.local/bin/toggle-beep fi echo -n "beep " if [[ -e /dev/input/by-path/platform-pcspkr-event-spkr ]] then echo "█" else echo "█" fi