dotfiles/scripts/qblof
2025-03-04 11:12:37 -06:00

10 lines
221 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 "class:org.qutebrowser.qutebrowser"
else
qutebrowser
fi