35 lines
530 B
Bash
Executable File
35 lines
530 B
Bash
Executable File
#!/bin/zsh
|
|
# vi:spl=en
|
|
|
|
alias xterm='xterm -bg black -fg white -fa Hack -fs 10'
|
|
|
|
|
|
## Execution Log
|
|
#
|
|
LOG=${0}.log
|
|
rm -f $LOG
|
|
touch $LOG
|
|
|
|
|
|
## Qubes: Template Cleaning
|
|
#
|
|
#sudo apt clean
|
|
|
|
|
|
## 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} qubes.SshAgent"
|
|
} &!
|
|
fi
|
|
|
|
|
|
## XFCE: Default Terminal
|
|
#
|
|
SHLVL=0 exo-open --launch TerminalEmulator &!
|