diff options
Diffstat (limited to 'raveos-plasma-theme/theme-data/profile.d/raveos-fastfetch.sh')
| -rw-r--r-- | raveos-plasma-theme/theme-data/profile.d/raveos-fastfetch.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/raveos-plasma-theme/theme-data/profile.d/raveos-fastfetch.sh b/raveos-plasma-theme/theme-data/profile.d/raveos-fastfetch.sh new file mode 100644 index 0000000..b3fe8ce --- /dev/null +++ b/raveos-plasma-theme/theme-data/profile.d/raveos-fastfetch.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +if [[ -z "${RAVEOS_GREETED:-}" && -z "${VSCODE_PID:-}" && "${TERM}" != "dumb" ]]; then + export RAVEOS_GREETED=1 + + if command -v fastfetch >/dev/null 2>&1; then + if [[ "${TERM}" == "xterm-kitty" ]]; then + fastfetch --config "${HOME}/.config/fastfetch/config-kitty.jsonc" + else + fastfetch --config "${HOME}/.config/fastfetch/config.jsonc" + fi + fi +fi |