moved bash scripts from 'collections' to {repo}/misc/scripts/

adjusted bashrc accordingly
This commit is contained in:
scbj
2024-11-08 16:54:26 +01:00
parent 4cf118e4e1
commit 2b16c54128
4 changed files with 26 additions and 3 deletions

5
misc/scripts/colors.sh Normal file
View File

@@ -0,0 +1,5 @@
show256colors () {
for code in {0..255}; do
echo -e "\e[38;05;${code}m $code: Color";
done
}

15
misc/scripts/dunst.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# reset dunst and send notification to Test dUNST config
tunst() {
killall -9 dunst
if [[ -z $1 ]]; then
notify-send "Henlo" "fren of fren of very fren";
else
for n in $(seq 1 $1); do
notify-send "Henlo(${n})" "fren of fren of fren number ${n}";
done
fi
}