46 lines
742 B
Bash
Executable File
46 lines
742 B
Bash
Executable File
#!/bin/zsh
|
|
# vi:spl=en
|
|
|
|
|
|
## Execution Log
|
|
#
|
|
LOG=${0}.log
|
|
rm -f $LOG
|
|
touch $LOG
|
|
|
|
|
|
## Versions Check
|
|
#
|
|
#xterm -geometry 100x40-99+99 \
|
|
# -title "Versions Check" -hold \
|
|
# -e "read 'OK?Launch? '; $HOME/bin/versions_check"
|
|
|
|
|
|
## Qubes: Cleaning
|
|
#
|
|
#sudo apt clean
|
|
#rmdir $HOME/QubesIncoming/* --ignore-fail-on-non-empty
|
|
|
|
|
|
## Qubes: Split SSH
|
|
#
|
|
# https://forum.qubes-os.org/t/split-ssh/19060
|
|
#
|
|
if [[ -n "$SSH_VAULT_VM" ]]; then
|
|
{
|
|
umask u=rw,go=
|
|
rm -f "${SSH_AUTH_SOCK}"
|
|
socat "UNIX-LISTEN:${SSH_AUTH_SOCK},fork" "EXEC:qrexec-client-vm ${SSH_VAULT_VM} user.SshAgent"
|
|
} &!
|
|
fi
|
|
|
|
|
|
## Periodic Actions
|
|
#
|
|
#xterm -geometry 80x16 -hold -e $HOME/bin/every-hour.zsh
|
|
|
|
|
|
## XFCE: Default Terminal
|
|
#
|
|
SHLVL=0 exo-open --launch TerminalEmulator &!
|