A fetch tool written in x86-64 assembly for Linux. Runs in under 150 microseconds and has zero dependencies.
- username (
$USER
) - hostname
- os name from
/etc/os-release
- kernel
- name
- version
- architecture
- shell (
$SHELL
) - uptime
- desktop (
$XDG_CURRENT_DESKTOP
) - display backend (
$XDG_SESSION_TYPE
) - memory usage
- disk usage for
/
$ gcc -nostdlib -no-pie asmfetch.S -o asmfetch
$ ./asmfetch
asmfetch wasn't designed to be very customizable or dynamic; tons of
values (e.g. the logo, symbols, format, colors) are hardcoded. The
only way to change them is by modifying the source code, specifically
the include
ed files in asmfetch.S
and symbols in symbols.S
.