1
0
Fork 0
forked from ahurac/dotfiles

Réécriture du programme waylectron

This commit is contained in:
Hippolyte Chauvin 2023-05-01 21:44:29 +02:00
parent 6ad5e289e1
commit ff296935c5

View file

@ -1,6 +1,7 @@
#!/bin/sh #!/bin/sh
PATH="$(echo "$PATH" | cut -d ':' -f 2-)" program="$(basename "$0")"
exec "$(basename "$0")" \ PATH="$(echo "$PATH" | sed 's|'"$(which "$program" | xargs dirname)"'||g' | sed 's/^://g' | sed 's/::/:/g')"
exec "$program" \
"$@" \ "$@" \
--ozone-platform-hint=auto --ozone-platform-hint=wayland