Hm, till now not really. In other solutions I found most people use 'xclip’or ‘xsel’, but this is not a solution I would prefer because not everyone would have installed ‘xclip’ or ‘xsel’.
But you use java to progam it and possibly there is a option for java.
I found something on StackOverflow. But I cant say if it works or bloats the program very much cause I have no experience in java.
Maxi is made for manjaro linux only
This is version 0.6.8 from 21.2.2022
Usage:
------
/home/andreas/bin/maxi [OPTIONS]
-h --help help
-c --color colorize output unconditionally
-k --kernel installed kernels, initrd, chroot
-l --list-all all kernels (not only installed)
-v --kver kernelversion
-m --modules list modules and extramodules
-s --shasum produce hash to compare kernel. modules
-w --watch [100] watch how everything changes with time
-g --grub /boot/grub/grub.cfg, /etc/default/grub
-i --mkinitcpio /etc/mkinitcpio.conf
-e --efi efi bootloaders
-f --forum frame with backticks and [details] and copy to clipboard
default equals to: -km
without any kernel:
3 min 57.483 sec
until kernels and initrd of all kernels are ready:
This Version has a new option
-p --partitions
which will show a little Info about visible partitions. Included ist the PARTUUID that can be found in the efivars that point to the boot-stanza. Also you will see which of the partitions are EFI-Partitions with filesystem fat32
maxi -efp
Currently running: 5.16.14-1-MANJARO (linux516)
Info about: efi bootloaders
/boot/efi/EFI/manjaro/grubx64.efi 276K
/boot/efi/EFI/boot/bootx64.efi 272K
/boot/efi/EFI/refind/refind_x64.efi 312K
/boot/efi/EFI/refind/drivers_x64/btrfs_x64.efi 116K
/boot/efi/EFI/tools/Shell.efi 908K
/boot/efi/EFI/tools/Shell_Full.efi 1008K
/boot/efi/EFI/tools/shellx64.efi 1,4M
/boot/grub/x86_64-efi/core.efi 276K
/boot/grub/x86_64-efi/grub.efi 276K
/boot/efi_backup/EFI/boot/bootx64.efi 164K
/boot/efi_backup/EFI/manjaro/grubx64.efi 164K
Info about: efi vars (needs efibootmgr)
Boot0000* manjaro HD(1,GPT,b1d3d562-88ff-4ac2-8326-9c5d82892379,0x800,0x1dc800) \EFI\MANJARO\GRUBX64.EFI
Boot0003* UEFI: Built-in EFI Shell VenMedia(5023b95c-db26-429b-a648-bd47664c8012) ..BO
Boot0004* UEFI OS HD(1,GPT,b1d3d562-88ff-4ac2-8326-9c5d82892379,0x800,0x1dc800) \EFI\BOOT\BOOTX64.EFI ..BO
Boot001A* UEFI OS HD(1,GPT,99e0488b-1204-4acc-83a6-30d2c839b094,0x800,0x100000) \EFI\BOOT\BOOTX64.EFI ..BO
Boot0020* UEFI OS HD(1,GPT,4f943c21-f008-4448-aaf4-ff8be3fd2a28,0x800,0x200000) \EFI\BOOT\BOOTX64.EFI ..BO
Boot0022* Hard Drive BBS(HD,,0x0) ..GO
Boot0023* CD/DVD Drive BBS(CDROM,,0x0) ..GO
Info about: visible partitions (needs lsblk)
sda --> gpt 9a2fddb7-cc9e-43e2-9ea8-3906b11c402d
sda1 EFI System b1d3d562-88ff-4ac2-8326-9c5d82892379 vfat C579-EF17
sda2 Linux filesystem 3ee1dfe1-19af-4102-945d-90d957d3c199 btrfs 3487ba3d-1cba-4cdc-a043-c420ebca2aca
sda3 Linux filesystem bdaabdec-4168-4429-8fed-7e0c6ddd0570
sdb --> gpt 65ee9421-a242-44c1-9cf7-176f99d937b1
sdb1 EFI System 99e0488b-1204-4acc-83a6-30d2c839b094 vfat 8CFB-34DD
sdb2 Linux filesystem c873df77-f67d-44b9-b93f-6c1f56307390
nvme0n1 --> gpt 3f4f3b57-5803-4ecc-926b-4d5039d4e4f7
nvme0n1p1 EFI System 4f943c21-f008-4448-aaf4-ff8be3fd2a28 vfat B027-5E71
nvme0n1p2 BIOS boot 99cbd634-17cc-44c2-8a60-8b468a9daf1f grub2 core.img
nvme0n1p3 Linux filesystem 7b64fe2b-61d7-474b-9e9b-ea0599578e2d btrfs 3487ba3d-1cba-4cdc-a043-c420ebca2aca
nvme0n1p4 Linux filesystem 4fb5dd8c-3442-47bd-b692-157dc9a08e4d btrfs 94567c06-a951-4b6a-923f-3d5bc37e760a
This way you can see which efi-variable points to which partition (and to the efi-bootloader there)