make fflof use a specific firefox class name

This commit is contained in:
Chris Cochrun 2024-06-20 12:01:36 -05:00
parent 2a579a11a4
commit d1e3d10947

View file

@ -25,15 +25,15 @@ if [ $(pgrep -c firefox) -gt 0 ]; then
exit exit
else else
# WAYLAND # WAYLAND
ffrg=$(hyprctl clients | rg firefox) ffrg=$(hyprctl clients | rg ff)
ffwin=$(echo $ffrg | sed 's/.*\: //') ffwin=$(echo $ffrg | sed 's/.*\: //')
# echo $ffwin # echo $ffwin
exec hyprctl dispatch focuswindow firefox exec hyprctl dispatch focuswindow ff
exit exit
fi fi
fi fi
else else
exec firefox exec firefox --name "ff"
fi fi