#!/bin/sh . ~/Documenti/colors.sh echo "\033[0;30m ██\033[1;30m██\033[0m $(whoami)@$(uname -n)" echo "\033[0;31m ██\033[1;31m██\033[0m $(cat /usr/lib/os-release | sed '/PRETTY_NAME/!d;s/[^=]*=//;s/"//g')" echo "\033[0;32m ██\033[1;32m██\033[0m $(uname -r)" echo "\033[0;33m ██\033[1;33m██\033[0m $(cat /proc/cpuinfo | grep 'model name' | sed '1!d;s/.*: //')" echo "\033[0;34m ██\033[1;34m██\033[0m $(glxinfo | sed '/OpenGL renderer/!d;s/.*: //')" echo "\033[0;35m ██\033[1;35m██\033[0m $(xrandr | sed '/current/!d;s/.*current \([0-9x\ ]*\).*/\1/;s/ //g')" echo "\033[0;36m ██\033[1;36m██\033[0m $(cat ~/.Xresources | sed '/font/!d;s/.*:[\ ]*-[a-z0-9]*-\([a-z0-9]*\).*/\1/' | sed '1!d')" # Works only with the bitmap fonts format (xlsonts) echo "\033[0;37m ██\033[1;37m██\033[0m $(cat $HOME/.mywm)" # this is generated by a script to choose the wm