12 releases
0.2.4 | Feb 12, 2025 |
---|---|
0.2.3 | Feb 12, 2025 |
0.1.0 | Apr 26, 2024 |
0.0.6 | Apr 26, 2024 |
#974 in Command line utilities
558 downloads per month
48KB
1K
SLoC
vkfetch
this is a rewrite of https://github.com/Wunkolo/vkfetch
I referenced the code and copied the ASCII art from it
thanks to wunkolo for writing the original
I rewrote it because I wanted to have vkfetch on an easy to access package manager and wanted to extend it
I believe we now have feature parity with the original vkfetch + some extra info not present in the original
installation
dependencies
nix
environment.systemPackages = [
pkgs.vulkan-loader
];
nix-shell -p vulkan-loader
nix-env -iA nixos.vulkan-loader
ubuntu
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-noble.list http://packages.lunarg.com/vulkan/lunarg-vulkan-noble.list
sudo apt update
sudo apt install vulkan-sdk
or
sudo apt update
sudo apt install vulkan-sdk
brew
brew install vulkan-loader
other distributions
check your own package managers or
https://vulkan.lunarg.com/sdk/home#linux
windows and mac
https://vulkan.lunarg.com/sdk/home#linux
vkfetch-rs
cargo install vkfetch-rs
build it from source
if you use nix then you can use my flake nix develop
git clone https://github.com/float3/vkfetch-rs
cd vkfetch-rs
cargo build
TODO
don't do ansi codes if stdout is a file
Dependencies
~5–10MB
~127K SLoC