From 70d3ee2631cb6872bf9cc2d2919868b3fd051407 Mon Sep 17 00:00:00 2001 From: Michel Date: Thu, 21 Nov 2024 11:32:14 +0100 Subject: [PATCH] feat(login): versions_check --- bin/once-connected.zsh | 18 +++++++++++++++++- bin/versions_check | 2 ++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/bin/once-connected.zsh b/bin/once-connected.zsh index b008da1..9613436 100755 --- a/bin/once-connected.zsh +++ b/bin/once-connected.zsh @@ -11,9 +11,20 @@ rm -f $LOG touch $LOG -## Qubes: Template Cleaning +## Disk Usage +# +#xterm -geometry 50x8-99+99 -title "Disk Usage" -hold -e "grc --colour=auto df -h --output=pcent,target,size,used,avail / /rw" + + +## Versions Check +# +#xterm -geometry 100x40-99+99 -title "Versions Check" -hold -e "$HOME/bin/versions_check" + + +## Qubes: Cleaning # #sudo apt clean +rmdir $HOME/QubesIncoming/* --ignore-fail-on-non-empty ## Qubes: Split SSH @@ -29,6 +40,11 @@ if [[ -n "$SSH_VAULT_VM" ]]; then fi +## Periodic Actions +# +#xterm -geometry 80x16 -hold -e $HOME/bin/every-hour.zsh + + ## XFCE: Default Terminal # SHLVL=0 exo-open --launch TerminalEmulator &! diff --git a/bin/versions_check b/bin/versions_check index a7c8ad4..698886c 100755 --- a/bin/versions_check +++ b/bin/versions_check @@ -17,6 +17,8 @@ fi # # - https://github.com/dvershinin/lastversion # +ASDF_DIR=${HOME}/.asdf +path=(${ASDF_DIR}/bin ${path:#${ASDF_DIR}/bin}) cd $(dirname $0) eval $(asdf exec direnv export zsh)