Minor Cleanup of spicetify-cli-bin and notify-send-py

- Use env in shebang for notify-send.py
- Move spicetify script to a file
This commit is contained in:
Sravan Balaji
2024-11-30 18:29:49 -05:00
parent a558c76415
commit 22e17d1e9d
3 changed files with 4 additions and 6 deletions

View File

@@ -0,0 +1,2 @@
#!/usr/bin/env sh
exec /opt/spicetify-cli/spicetify "$@"

View File

@@ -35,10 +35,7 @@ RDEPEND="
src_install() {
insinto "${INSTALLDIR}"
doins -r {css-map.json,CustomApps,Extensions,globals.d.ts,jsHelper,Themes,spicetify}
newbin - spicetify <<-EOF
#!/usr/bin/env sh
exec /opt/spicetify-cli/spicetify \$@
EOF
dobin ${FILESDIR}/spicetify
fperms +x "${INSTALLDIR}/spicetify"
}

View File

@@ -1,3 +1,2 @@
#!/bin/sh
#!/usr/bin/env sh
exec python3 -m notify_send_py.notify_send_py "$@"