dotfiles/bin/waylectron

8 lines
210 B
Text
Raw Normal View History

#!/bin/sh
2023-05-01 21:44:29 +02:00
program="$(basename "$0")"
PATH="$(echo "$PATH" | sed 's|'"$(which "$program" | xargs dirname)"'||g' | sed 's/^://g' | sed 's/::/:/g')"
exec "$program" \
"$@" \
2023-05-01 21:44:29 +02:00
--ozone-platform-hint=wayland