From 19120d4f9761c67d99ed1ce3da6084b83f5a49c9 Mon Sep 17 00:00:00 2001 From: srdusr Date: Sat, 30 Aug 2025 19:22:59 +0200 Subject: Linux-specific dotfiles --- linux/home/.scripts/cryptonotify | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 linux/home/.scripts/cryptonotify (limited to 'linux/home/.scripts/cryptonotify') diff --git a/linux/home/.scripts/cryptonotify b/linux/home/.scripts/cryptonotify new file mode 100755 index 0000000..47883c3 --- /dev/null +++ b/linux/home/.scripts/cryptonotify @@ -0,0 +1,19 @@ +#!/bin/sh +source cryptocheck +Output= +for file in ~/.cache/crypto/* +do + if [ ! -z "$Output" ]; then + if [ ! $(basename $file) = "time" ]; then + Output="$Output\n$(cat $file)" + fi + else + if [ ! $(basename $file) = "time" ]; then + Output="$Output$(cat $file)" + fi + fi + +done + +Output="$Output\n$(cat ~/.cache/crypto/time)" +notify-send "Crypto Prices" "$Output" -- cgit v1.2.3