fixing firefox css
This commit is contained in:
parent
5e049104f8
commit
9a0fdfefa8
14 changed files with 35 additions and 29 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue