u
This commit is contained in:
@@ -83,6 +83,20 @@ case ${TERM} in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# tss (terminal screen saver) - start a random one
|
||||||
|
tss() {
|
||||||
|
# https://unix.stackexchange.com/questions/118714/how-can-i-get-cacafire-to-show-up-in-the-original-gnome-terminal-instead-of-a
|
||||||
|
OLD_DISPAY=$(echo $DISPLAY)
|
||||||
|
export DISPLAY=
|
||||||
|
commands=("aafire -driver curses" "cacafire" "cmatrix -a -b -s -u 5" "unimatrix.py")
|
||||||
|
random_command="${commands[ $RANDOM % ${#commands[@]} ]}"
|
||||||
|
$random_command
|
||||||
|
export DISPLAY=${OLD_DISPAY}
|
||||||
|
}
|
||||||
|
|
||||||
|
alias tbt="printf '\x1b]10;red\x1b\\'; printf '\x1b]11;#000\x1b\\'" # tbt (terminal black theme) | https://sw.kovidgoyal.net/kitty/faq/#how-do-i-change-the-colors-in-a-running-kitty-instance
|
||||||
|
alias tdt="printf '\x1b]10;#00ffff\x1b\\'; printf '\x1b]11;#161021\x1b\\';" # tdt (terminal default theme)
|
||||||
|
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
# networking
|
# networking
|
||||||
@@ -209,16 +223,6 @@ rshift() {
|
|||||||
redshift -P -O ${temperature}
|
redshift -P -O ${temperature}
|
||||||
}
|
}
|
||||||
|
|
||||||
# tss aka terminal screen saver
|
|
||||||
tss() {
|
|
||||||
# https://unix.stackexchange.com/questions/118714/how-can-i-get-cacafire-to-show-up-in-the-original-gnome-terminal-instead-of-a
|
|
||||||
OLD_DISPAY=$(echo $DISPLAY)
|
|
||||||
export DISPLAY=
|
|
||||||
commands=("aafire -driver curses" "cacafire" "cmatrix -a -b -s -u 5" "unimatrix.py")
|
|
||||||
random_command="${commands[ $RANDOM % ${#commands[@]} ]}"
|
|
||||||
$random_command
|
|
||||||
export DISPLAY=${OLD_DISPAY}
|
|
||||||
}
|
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
# mounting
|
# mounting
|
||||||
|
|||||||
Reference in New Issue
Block a user