mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-13 22:02:34 +00:00
feat: Adds jellyfin-tui run and configuration, updates ghostty font size.
This commit is contained in:
18
runs/after/jellyfin-tui
Executable file
18
runs/after/jellyfin-tui
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
DEV_ENV=${DEV_ENV:-""}
|
||||
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-"$HOME/.config"}
|
||||
|
||||
install() {
|
||||
[[ -z $DEV_ENV ]] && echo "[ERROR]: DEV_ENV not set" && exit 1
|
||||
mkdir -p "$XDG_CONFIG_HOME"/jellyfin-tui &>/dev/null
|
||||
gpg --output "$XDG_CONFIG_HOME"/jellyfin-tui/config.yaml --decrypt "$DEV_ENV"/env/jellyfin-tui/config.gpg
|
||||
}
|
||||
|
||||
uninstall() {
|
||||
rm -rf ~/.config/jellyfin-tui
|
||||
}
|
||||
|
||||
arg=${1:-""}
|
||||
[[ $arg == "install" ]] && install
|
||||
[[ $arg == "uninstall" ]] && uninstall
|
||||
3
runs/jellyfin-tui
Executable file
3
runs/jellyfin-tui
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
yay ${1:-"-S --noconfirm"} jellyfin-tui
|
||||
Reference in New Issue
Block a user