moved bash scripts from 'collections' to {repo}/misc/scripts/
adjusted bashrc accordingly
This commit is contained in:
5
misc/scripts/colors.sh
Normal file
5
misc/scripts/colors.sh
Normal 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
15
misc/scripts/dunst.sh
Normal 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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user