Compare commits
4 commits
af7e14bcaf
...
4dfe4dcac5
Author | SHA1 | Date | |
---|---|---|---|
4dfe4dcac5 | |||
81ae4a7022 | |||
631103157d | |||
0c65254f63 |
6 changed files with 13 additions and 2 deletions
11
apsalar/global/jellyfinmediaplayer
Executable file
11
apsalar/global/jellyfinmediaplayer
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
# Wrapper for Jellyfin Media Player to auto start/stop jellyfin-rpc
|
||||
|
||||
if [ ! -f "$HOME/.local/bin/jellyfin-rpc" ]; then
|
||||
echo "Please ensure jellyfin-rpc is installed to ~/.local/bin/ and executable"
|
||||
fi
|
||||
|
||||
$HOME/.local/bin/jellyfin-rpc &
|
||||
/usr/bin/jellyfinmediaplayer
|
||||
kill -9 $(pgrep -f jellyfin-rpc)
|
||||
exit
|
|
@ -25,4 +25,4 @@ if [[ $DATA == *"null"* ]]; then
|
|||
exit
|
||||
fi
|
||||
|
||||
printf "${LOCATION}: ${DESC:1:-1}, ${DATA[0]}°C (fl ${DATA[1]}°C)\n"
|
||||
printf "${DESC:1:-1}, ${DATA[0]}°C (fl ${DATA[1]}°C)\n"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
# Link some stuff to /usr/local/bin for ease of access with menus
|
||||
if [ "$EUID" -ne 0 ]; then echo "Please run as root"; exit; fi
|
||||
ln -s $(pwd)/apsalar/audacious /usr/local/bin/audacious
|
||||
ln -s $(pwd)/apsalar/global/jellyfinmediaplayer /usr/local/bin/jellyfinmediaplayer
|
||||
ln -s $(pwd)/apsalar/spotify /usr/local/bin/spotify
|
||||
|
||||
|
|
BIN
icons/battlenet.png
Normal file
BIN
icons/battlenet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 57 KiB |
Binary file not shown.
Before Width: | Height: | Size: 31 KiB |
Binary file not shown.
Before Width: | Height: | Size: 20 KiB |
Loading…
Reference in a new issue