fixing firefox css

This commit is contained in:
Chris Cochrun 2022-03-11 07:16:33 -06:00
parent 5e049104f8
commit 9a0fdfefa8
14 changed files with 35 additions and 29 deletions

View file

@ -3,7 +3,7 @@ export MOZ_ENABLE_WAYLAND=1
echo $MOZ_ENABLE_WAYLAND
# Check to see if firefox is running
if [ $(pgrep -c GeckoMain) -gt 0 ]; then
if [ $(pgrep -c firefox) -gt 0 ]; then
if [ $XDG_SESSION_TYPE = "x11" ]; then
#X11

View file

@ -23,13 +23,14 @@ if pgrep -x qutebrowser > /dev/null; then
ww -f org.qutebrowser.qutebrowser -c qutebrowser
exit
else
echo "other wayland"
# WAYLAND
qbrg=$(wlrctl window list | rg qutebrowser)
qbwin=$(echo $qbrg | sed 's/.*\: //')
qbwin=$(echo $qbrg | sed 's/\(.*r\)\:.*/\1/')
# echo $ffwin
wlrctl toplevel focus title:"$qbwin"
wlrctl toplevel focus "$qbwin"
exit
fi
fi