From 8ef8e51a7b111bb2038136bdeae8c5e00e816021 Mon Sep 17 00:00:00 2001 From: "committer@tuxwarrior" Date: Sat, 3 May 2025 17:23:42 -0500 Subject: [PATCH] u --- dots/bash/.bashrc | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/dots/bash/.bashrc b/dots/bash/.bashrc index da29127..149bbbb 100644 --- a/dots/bash/.bashrc +++ b/dots/bash/.bashrc @@ -83,6 +83,20 @@ case ${TERM} in ;; 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 @@ -209,16 +223,6 @@ rshift() { 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