dotfiles/bin/waylectron

8 lines
228 B
Text
Raw Normal View History

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