2023-03-24 21:12:45 +01:00
|
|
|
#!/bin/zsh
|
|
|
|
# vi:spl=en
|
|
|
|
|
2024-10-18 14:41:06 +02:00
|
|
|
|
|
|
|
## Execution Log
|
2024-01-22 16:54:59 +01:00
|
|
|
#
|
2024-10-18 14:41:06 +02:00
|
|
|
LOG=${0}.log
|
|
|
|
rm -f $LOG
|
|
|
|
touch $LOG
|
2024-01-22 16:54:59 +01:00
|
|
|
|
|
|
|
|
2024-11-21 11:32:14 +01:00
|
|
|
## Versions Check
|
|
|
|
#
|
2024-12-06 11:22:58 +01:00
|
|
|
#xterm -geometry 100x40-99+99 \
|
|
|
|
# -title "Versions Check" -hold \
|
|
|
|
# -e "read 'OK?Launch? '; $HOME/bin/versions_check"
|
2024-11-21 11:32:14 +01:00
|
|
|
|
|
|
|
|
|
|
|
## Qubes: Cleaning
|
2024-06-19 11:59:51 +02:00
|
|
|
#
|
2024-10-18 14:41:06 +02:00
|
|
|
#sudo apt clean
|
2024-12-06 11:22:58 +01:00
|
|
|
#rmdir $HOME/QubesIncoming/* --ignore-fail-on-non-empty
|
2024-06-19 11:59:51 +02:00
|
|
|
|
|
|
|
|
2024-10-13 19:34:23 +02:00
|
|
|
## Qubes: Split SSH
|
2023-03-24 21:12:45 +01:00
|
|
|
#
|
2024-10-13 19:34:23 +02:00
|
|
|
# https://forum.qubes-os.org/t/split-ssh/19060
|
2023-03-24 21:12:45 +01:00
|
|
|
#
|
2024-10-13 19:34:23 +02:00
|
|
|
if [[ -n "$SSH_VAULT_VM" ]]; then
|
|
|
|
{
|
|
|
|
umask u=rw,go=
|
2024-10-28 16:48:23 +01:00
|
|
|
rm -f "${SSH_AUTH_SOCK}"
|
2024-11-06 14:52:56 +01:00
|
|
|
socat "UNIX-LISTEN:${SSH_AUTH_SOCK},fork" "EXEC:qrexec-client-vm ${SSH_VAULT_VM} user.SshAgent"
|
2024-10-13 19:34:23 +02:00
|
|
|
} &!
|
|
|
|
fi
|
2023-03-24 21:12:45 +01:00
|
|
|
|
|
|
|
|
2024-11-21 11:32:14 +01:00
|
|
|
## Periodic Actions
|
|
|
|
#
|
|
|
|
#xterm -geometry 80x16 -hold -e $HOME/bin/every-hour.zsh
|
|
|
|
|
|
|
|
|
2024-10-13 19:34:23 +02:00
|
|
|
## XFCE: Default Terminal
|
2023-03-24 21:12:45 +01:00
|
|
|
#
|
2024-10-13 19:34:23 +02:00
|
|
|
SHLVL=0 exo-open --launch TerminalEmulator &!
|