dotfiles/scripts/qblof
2024-12-04 14:20:45 -06:00

10 lines
197 B
Bash
Executable file

#!/bin/sh
# Check to see if qb is running
if [ $(pgrep -c -f '.qutebrowser-wrapped') -gt 0 ]; then
echo "qb running"
exec hyprctl dispatch focuswindow qutebrowser
else
qutebrowser
fi