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:
2
app-misc/spicetify-cli-bin/files/spicetify
Normal file
2
app-misc/spicetify-cli-bin/files/spicetify
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
exec /opt/spicetify-cli/spicetify "$@"
|
@@ -35,10 +35,7 @@ RDEPEND="
|
|||||||
src_install() {
|
src_install() {
|
||||||
insinto "${INSTALLDIR}"
|
insinto "${INSTALLDIR}"
|
||||||
doins -r {css-map.json,CustomApps,Extensions,globals.d.ts,jsHelper,Themes,spicetify}
|
doins -r {css-map.json,CustomApps,Extensions,globals.d.ts,jsHelper,Themes,spicetify}
|
||||||
newbin - spicetify <<-EOF
|
dobin ${FILESDIR}/spicetify
|
||||||
#!/usr/bin/env sh
|
|
||||||
exec /opt/spicetify-cli/spicetify \$@
|
|
||||||
EOF
|
|
||||||
fperms +x "${INSTALLDIR}/spicetify"
|
fperms +x "${INSTALLDIR}/spicetify"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,3 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/usr/bin/env sh
|
||||||
exec python3 -m notify_send_py.notify_send_py "$@"
|
exec python3 -m notify_send_py.notify_send_py "$@"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user