#!/bin/zsh # vi:spl=en alias xterm='xterm -bg black -fg white -fa Hack -fs 10' ## Proof of execution # # touch ${0}.touched ## Qubes: Template Cleaning # sudo apt clean ## Qubes: Split SSH # # https://forum.qubes-os.org/t/split-ssh/19060 # if [[ -n "$SSH_VAULT_VM" ]]; then [[ -v SSH_AGENT_PID ]] && kill $SSH_AGENT_PID unset SSH_AGENT_PID { umask u=rw,go= SSH_SOCK="/home/user/.SSH_AGENT_$SSH_VAULT_VM" rm -f "$SSH_SOCK" socat "UNIX-LISTEN:$SSH_SOCK,fork" "EXEC:qrexec-client-vm $SSH_VAULT_VM qubes.SshAgent" } &! export SSH_AUTH_SOCK="/home/user/.SSH_AGENT_$SSH_VAULT_VM" fi ## XFCE: Default Terminal # SHLVL=0 exo-open --launch TerminalEmulator &!