Watch
1
0
Fork
You've already forked souveraine
0
souveraine/.handoff-from-phone/discord-betterdiscord/discord-launcher.sh
Fimeg 19fe6b1d0e shell: dock reorder, fullscreen detection fix, idle-power, sessiond, misc shell work
- Dock drag-to-reorder for pinned apps (insertion gap, quick-slide vs dwell)
- Fullscreen detection: scan all windows via HyprlandData.windowList
- IdleCoordinator, GlobalStates, Session.qml updates
- Deploy script, qmldir, settings, wallpaper, visualizer fixes
- sessiond server, memory module updates

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-22 22:18:20 -04:00

24 lines
492 B
Shell

#!/usr/bin/env bash
set -euo pipefail
name=@PKGNAME@
electron=@ELECTRON@
# Support .config/discord-flags.conf file
flags_file="${XDG_CONFIG_HOME:-$HOME/.config}/${name}-flags.conf"
if [[ -r "${flags_file}" ]]; then
mapfile -t < "${flags_file}"
fi
declare -a flags
for line in "${MAPFILE[@]}"; do
if [[ ! "${line}" =~ ^[[:space:]]*#.* ]] && [[ -n "${line}" ]]; then
flags+=("${line}")
fi
done
exec /usr/bin/${electron} \
/usr/share/${name}/resources/app.asar \
"${flags[@]}" "$@"