From 01a33ab0913d439150065ac23644c4f140ff8917 Mon Sep 17 00:00:00 2001 From: Casper Date: Mon, 23 Dec 2024 17:13:45 -0700 Subject: added qmenu! --- qmenu/qmenu_vm/fqubes_logs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 qmenu/qmenu_vm/fqubes_logs (limited to 'qmenu/qmenu_vm/fqubes_logs') diff --git a/qmenu/qmenu_vm/fqubes_logs b/qmenu/qmenu_vm/fqubes_logs new file mode 100644 index 0000000..37fd6c8 --- /dev/null +++ b/qmenu/qmenu_vm/fqubes_logs @@ -0,0 +1,16 @@ +if [ "$qube" = dom0 ]; then + + logs=/var/log/xen/console/hypervisor.log +else + logs="/var/log/xen/console/guest-$qube.log\n/var/log/xen/console/guest-$qube-dm.log\n/var/log/qubes/guid.$qube.log\n/var/log/qubes/qrexec.$qube.log" +fi + +entry=1 + +while [ -n "$entry" ]; do + + if entry=$(printf "$logs" | dmenu-unlinked -i -l 4 -p "$qube:"); then + + qubes-log-viewer "$entry" + fi +done -- cgit v1.2.3