I DONLT KNOW ANYMORE!!

This commit is contained in:
Chris Cochrun 2022-01-03 12:27:41 -06:00
parent 5729629ba7
commit ed8d575d18
18 changed files with 88 additions and 55 deletions

View file

@ -18,14 +18,19 @@ if pgrep -x nyxt > /dev/null; then
fi
else
echo wayland
# WAYLAND
nyxtrg=$(wlrctl window list | rg nyxt:)
if [ $KDE_FULL_SESSION = "true" ]; then
ww -f nyxt -c nyxt
exit
else
# WAYLAND
nyxtrg=$(wlrctl window list | rg nyxt:)
nyxtwin=$(echo $nyxtrg | sed 's/.*\: //')
# echo $nyxtwin
nyxtwin=$(echo $nyxtrg | sed 's/.*\: //')
# echo $nyxtwin
wlrctl toplevel focus nyxt
exit
wlrctl toplevel focus nyxt
exit
fi
fi
else
echo not running