dotfiles/scripts/qblof

11 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