8 lines
254 B
Bash
Executable file
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[@]}" \
|
|
"$@"
|
|
|