dotfiles/bin/waylectron
2023-11-16 10:14:05 +01:00

8 lines
231 B
Bash
Executable file

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