Added default config to git repo

This commit is contained in:
2024-05-06 12:57:56 +03:00
parent 80e4992f75
commit 9d78dc0ca6
7 changed files with 177 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
source fetch_script_functions.sh
echo "Distribution: ${DISTRO_LONG_NAME} ($(uname -m))"
echo "Hostname: $(cat /etc/hostname)"
echo "Kernel: $(uname -s) $(uname -r)"
echo "Packages: $(get_packages)"
echo "Shell: $(get_shell)"
echo "CPU: $(get_cpu_name) ($(nproc) threads)"
if command_exists lshw; then
echo "GPU: $(lshw -class display 2> /dev/null | grep 'product' | cut -d":" -f2 | xargs)"
fi
echo "Memory: $(get_used_mem) MiB / $(get_total_mem) MiB"
if xhost >& /dev/null ; then
echo "DE/WM: $(get_de_wm)"
echo "Screen Resolution: $(get_screen_resolution)"
fi