2023-03-24 21:12:45 +01:00
|
|
|
#!/bin/zsh
|
|
|
|
# vi:spl=en
|
|
|
|
|
|
|
|
alias xterm='xterm -bg black -fg white -fa Hack -fs 10'
|
|
|
|
|
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-10-13 19:34:23 +02:00
|
|
|
## Qubes: Template Cleaning
|
2024-06-19 11:59:51 +02:00
|
|
|
#
|
2024-10-18 14:41:06 +02:00
|
|
|
#sudo apt clean
|
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}"
|
|
|
|
socat "UNIX-LISTEN:${SSH_AUTH_SOCK},fork" "EXEC:qrexec-client-vm ${SSH_VAULT_VM} qubes.SshAgent"
|
2024-10-13 19:34:23 +02:00
|
|
|
} &!
|
|
|
|
fi
|
2023-03-24 21:12:45 +01:00
|
|
|
|
|
|
|
|
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 &!
|