This commit is contained in:
committer@tuxwarrior
2025-05-03 16:01:26 -05:00
parent 846c347806
commit 61315b312c
2 changed files with 12 additions and 4 deletions

View File

@@ -23,9 +23,9 @@ eval "$(jump shell --bind=j)"
# miscellaneous aliases
# ---
alias aafire="aafire -driver curses"
alias cacafire="DISPLAY= cacafire"
alias cmatrix="cmatrix -a -b -s -u 5"
alias aafire="aafire -driver curses" # terminal idle "screensaver"
alias cacafire="DISPLAY= cacafire" # terminal idle "screensaver"
alias cmatrix="cmatrix -a -b -s -u 5" # terminal idle "screensaver"
alias ct="sudo ct"
alias dr="dragon-drop --and-exit --all --print-path"
alias diskusage="ncdu -x"
@@ -49,6 +49,7 @@ alias tp-list="tree ~/.local/share/Trash/"
alias tp-restore="trash-restore"
alias tp="tp.sh"
alias tree="tree --du -h"
alias unimatrix="unimatrix.py" # terminal idle "screensaver"
#alias azurevpnclient="/opt/microsoft/microsoft-azurevpnclient/microsoft-azurevpnclient"
alias luna="~/syncDir/quick/swas/installationFiles/lunaModeler/Luna\ Modeler-10.1.0-x86_64.AppImage"
@@ -208,6 +209,13 @@ rshift() {
redshift -P -O ${temperature}
}
# tfun aka. "terminal fun" - run random terminal "fun" command
tfun() {
commands=("aafire" "cacafire" "cmatrix" "unimatrix")
random_command=${commands[ $RANDOM % ${#commands[@]} ]}
$random_command
}
# ---
# mounting

View File

@@ -5,7 +5,7 @@
# get random image to use
# https://stackoverflow.com/questions/61290199/how-do-i-select-a-random-file-from-a-directory
random_image=$(ls -1 /home/${USER}/.local/share/img/*.png | shuf | head -1)
random_image=$(ls -1 /home/${USER}/.local/share/img/*.png | shuf | head -1)
random_image_filname="$(basename -- $random_image)"
# get random gravity to use for the overlay image, take the number of displays into account