gitea repo

This commit is contained in:
fred 2025-06-20 11:59:24 -07:00
commit f610209aff
66 changed files with 2439 additions and 0 deletions

16
dotfiles/qemu/qemu-hooks Executable file
View file

@ -0,0 +1,16 @@
#!/bin/bash
# note 25/5/31 these exports were included from my arch install, not sure why. disabling for now, if they arent needed the next time I look at this feel free to remove them
export XAUTHORITY=/home/fred/.Xauthority
export DISPLAY=:0
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
#guest_name="$1"
#libvirt_task="$2"
if [[ $2 = "started" ]]; then
# on_hook runs inline on VMmanager
echo "no-op"
elif [[ $2 = "stopped" ]]; then
bash /home/fred/scripts/VM/VMmanager.sh off_hook
fi