I’d suppose if you ask this on KDE Reddit someone with enough time could make something like this with Kvantvm, though the difficult parts would be (1) the web browser theme, and specially (2) the icon theme - I have never ever seen an icon theme like that for Linux
Not sure if I’m understanding, but can’t you just pipe the whole thing to
awk
and capture the first field? Likeecho "/dev/loop0: [2081]:64 (/a/path/to/afile.dat)" | awk -F: '{print $1}'
Which would print
/dev/loop0