1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/bin/waylectron

8 lines
254 B
Bash
Executable file

#!/bin/bash
program="$(basename "$0")"
readarray -t wayland_args < ~/.config/electron-flags.conf
PATH="$(echo "$PATH" | sed "s|$(dirname "$(which "$program")")||g" | sed 's/^://g' | sed 's/::/:/g')"
exec "$program" \
"${wayland_args[@]}" \
"$@"