dotfiles/bin/waylectron

9 lines
231 B
Text
Raw Normal View History

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