summaryrefslogtreecommitdiff
path: root/neofetchCache.sh
diff options
context:
space:
mode:
authorlittleblack111 <jerrylam110209@gmail.com>2023-08-14 12:03:52 +0800
committerlittleblack111 <jerrylam110209@gmail.com>2023-08-14 12:03:52 +0800
commit31929cd6f44ffe7cfb65d992a8541671715c9875 (patch)
tree4ef39ed488cc1e354beb3685863457a0e11f2ee6 /neofetchCache.sh
parent4afee5b56a43050c560303e028b1014fdd0732ff (diff)
updated
Diffstat (limited to 'neofetchCache.sh')
-rwxr-xr-xneofetchCache.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/neofetchCache.sh b/neofetchCache.sh
new file mode 100755
index 0000000..42f2816
--- /dev/null
+++ b/neofetchCache.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/bash
+
+cachefile=$XDG_CACHE_HOME/neofetch.save
+
+exec neofetch > "$cachefile"