#!/bin/bash if lsusb | grep -q "Logitech" then pgrep -x solaar > /dev/null || solaar -w hide & fi