https://github.com/xyhhx/qvmx
helper scripts for qubes os
https://github.com/xyhhx/qvmx
bash bash-script qubes qubes-os scripts
Last synced: 2 months ago
JSON representation
helper scripts for qubes os
- Host: GitHub
- URL: https://github.com/xyhhx/qvmx
- Owner: xyhhx
- Created: 2023-09-15T15:11:52.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-15T21:16:08.000Z (almost 3 years ago)
- Last Synced: 2025-03-06T03:35:45.257Z (over 1 year ago)
- Topics: bash, bash-script, qubes, qubes-os, scripts
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# qvmx
Some helper scripts for [Qubes OS](https://qubes-os.org) to provide TUIs for annoying operations.
### Prerequisites
These scripts use [`gum`](https://github.com/charmbracelet/gum) heavily. Go get the bin (in a dispvm) and pop that into dom0 and its `PATH` however you prefer.
**⚠️ Obviously, installing binaries in dom0 is a big security consideration. Do so at your own peril.**
### Installing the scripts
- Download or clone this repo
- Copy them into dom0 using:
(Assuming the repo is cloned into `/home/user/qvmx`)
- `sudo qvm-run $vm 'cat /home/user/qvmx/dom0/qvmx-copy-screenshot' > /tmp/qvmx-copy-screenshot`
- `sudo qvm-run $vm 'cat /home/user/qvmx/dom0/qvmx-prune-lvm' > /tmp/qvmx-prune-lvm`
- `chmod +x /tmp/qvmx-*`
- `sudo mv /tmp/qvmx-* /usr/local/bin`
## Scripts
### `qvmx-copy-screenshot`
Provides a nice TUI that moves the most recent _n_ screenshots from `~/Pictures/Screenshots/` to `~/Pictures/` in a qube of your choice.
### `qvmx-prune-lvm`
Removes LVM volumes marked `-backup` (by default ignoring any qubes with `-matrix` in their name, but this is optional).
The TUI confirms a few times, since this is destructive as hell.