11 lines
221 B
Bash
Executable file
11 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
|