make fflof use a specific firefox class name
This commit is contained in:
parent
2a579a11a4
commit
d1e3d10947
|
@ -25,15 +25,15 @@ if [ $(pgrep -c firefox) -gt 0 ]; then
|
|||
exit
|
||||
else
|
||||
# WAYLAND
|
||||
ffrg=$(hyprctl clients | rg firefox)
|
||||
ffrg=$(hyprctl clients | rg ff)
|
||||
|
||||
ffwin=$(echo $ffrg | sed 's/.*\: //')
|
||||
# echo $ffwin
|
||||
|
||||
exec hyprctl dispatch focuswindow firefox
|
||||
exec hyprctl dispatch focuswindow ff
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
else
|
||||
exec firefox
|
||||
exec firefox --name "ff"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue