I DONLT KNOW ANYMORE!!
This commit is contained in:
parent
5729629ba7
commit
ed8d575d18
18 changed files with 88 additions and 55 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue