guest@dotshare [~/groups/terms/colors] $ ls The-Cat-system-info/ | cat

The Cat system info (scrot) (+8 likes)

hokagemadura May 26, 2013 (terms/colors)

.sh(raw, dl)

SCROT

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
f=3 b=4
for j in f b; do
  for i in {0..7}; do
    printf -v $j$i %b "\e[${!j}${i}m"
  done
done
bld=$'\e[1m'
rst=$'\e[0m'
inv=$'\e[7m'

gtkrc="$HOME/.gtkrc-2.0"
GtkTheme=$( grep "gtk-theme-name" "$gtkrc" | cut -d\" -f2 )
GtkIcon=$( grep "gtk-icon-theme-name" "$gtkrc" | cut -d\" -f2 )
GtkFont=$( grep "gtk-font-name" "$gtkrc" | cut -d\" -f2 )

# Wallpaper set by feh
Wallpaper=$(cat ~/.fehbg | cut -c 16-70)

# Settings from ~/.Xdefaults
xdef="~/.Xdefaults"
TermFont="$(grep 'font' ~/.config/termite/config | awk '{print $3}')"

# Time and date
time=$( date "+%H.%M")
date=$( date "+%a %d %b" )

# OS
OS=$(uname -r)
dist=$(cat /etc/*-release | grep -i name | cut -d'=' -d'"' -f2 | sed -n 1p)
bit=$(uname -m)

# WM version
wm=$(wmctrl -m | grep -i name | awk '{print $2}')

# Other
UPT=`uptime | awk -F'( |,)' '{print $2}' | awk -F ":" '{print $1}'`
uptime=$(uptime | sed 's/.*up \([^,]*\), .*/\1/')
uptime2=$(uptime | sed -nr 's/.*\s+([[:digit:]]{1,2}):[[:digit:]]{2},.*/\1/p')
size=$(df | grep '^/dev/[hs]d' | awk '{s+=$2} END {printf("%.0f\n", s/1048576)}')
use=$(df | grep '^/dev/[hs]d' | awk -M '{s+=$3} END {printf("%.0f\n", s/1048576)}')
gb=$(echo "G")
pac=$(pacman -Qe | wc -l)
pacman=$(pacman -Q | wc -l)
COUNT=$(cat /proc/cpuinfo | grep 'model name' | sed -e 's/.*: //' | wc -l)
cpu=$(lscpu | grep 'Model name' | awk -F ':' '{print $2}' | cut -c13-40)
#laptop=$(dmidecode | grep Product)
lap1=$(cat /sys/class/dmi/id/sys_vendor)
lap2=$(cat /sys/class/dmi/id/product_name)

cat << EOF   
$bld                                           
$f7                                                  
$f7                    .c0N.   .'c.                  $H the$f1 cat
$f7         'Okdl:'  ;OMMMMKOKNMMW:;o0l  .'.          
$f7         ;MMMMMMWWMMMMMMMMMMMMMMMMMXKWMMK         $H $f4$time$NC - $f7$date
$f7         'MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMK         $f6 $USER $f7@ $f1$HOSTNAME
$f7          NMMMMMMMMMMMMMMMMMMMMMMMMMMMMMO          
$f7          dMMMMMMMMMMMMMMMMMMMMMMMMMMMMM:          GTK Theme »$f4 $GtkTheme$NC
$f7          'MMMMMMMMMMMMMMMMMMMMMMMMMMMMM.          GTK Icons »$f4 $GtkIcon$NC
$f7          'MMMMMMMMMMMMMMMMMMMMMMMMMMMMM;          GTK Font  »$f4 $GtkFont$NC
$f7          lMMMMM  MMMMMMMMMM  MMMMMMMMMM,          Term Font »$f4 $TermFont$NC
$f7          KMMMMM  MMMMMMMMMM  MMMMMMMMMM.          Uptime    »$f4 $uptime $uptime2 hours
$f7         ;WMMMMMkNMMMMMMMMMMONMMMMMMMMMW:          HDD       »$f4 $f2$use$f4 / $size$gb
$f7       oNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMO         Packages  »$f2 $pacman
$f7      .,cxKWMMMMMMMMMMMMMMMMMMMMMMMMMMMXdxo        
$f7         ;kWMMMMMMMMMMMMMMMMMMMMMMMMMMMM:          
$f7        .::,  .;ok0NMMMMWNK0kdoc;'  'cxK0          OS »$f4 $OS$NC
$f1                   .:cc:;;.                       $f7 WM »$f4 $wm
$f1                   .o0MMMK'                        @  »$f7 $dist $bit
$f1                     xMMM:                         
$f1                     KMMMl                        $f2 $cpu
$f1                    .MMMMo                        $f3 $lap1 $lap2
$f1                    ,MMMMx                        
$f1                    oMMMMx                        
$f1                    OMMMMO                        $f7"And you can go fuck yourself, bitch"
$f1                    .OMMMd                                                     $f7 the$f1 cat     
$f1                      :Nl       

EOF

CLICK TO VIEW

x

bitch.sh(raw, dl)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
f=3 b=4
for j in f b; do
  for i in {0..7}; do
    printf -v $j$i %b "\e[${!j}${i}m"
  done
done
d=$'\e[1m'
t=$'\e[0m'
v=$'\e[7m'

gtkrc="$HOME/.gtkrc-2.0"
GtkTheme=$( grep "gtk-theme-name" "$gtkrc" | cut -d\" -f2 )
GtkIcon=$( grep "gtk-icon-theme-name" "$gtkrc" | cut -d\" -f2 )
GtkFont=$( grep "gtk-font-name" "$gtkrc" | cut -d\" -f2 )

# Wallpaper set by feh
Wallpaper=$(cat ~/.fehbg | cut -c 16-70)

# Settings from ~/.Xdefaults
xdef="~/.Xdefaults"
TermFont="$(grep 'font' ~/.Xdefaults | awk '{print $2}' | cut -d ":" -f2 | cut -d ":" -f1)"

# Time and date
time=$( date "+%H.%M")
date=$( date "+%a %d %b" )

# OS
OS=$(uname -r)
dist=$(cat /etc/*-release | grep -i name | cut -d'=' -d'"' -f2 | sed -n 1p)
bit=$(uname -m)

# WM version
wm=$(wmctrl -m | grep -i name | awk '{print $2}')

# Other
UPT=`uptime | awk -F'( |,)' '{print $2}' | awk -F ":" '{print $1}'`
uptime=$(uptime | sed 's/.*up \([^,]*\), .*/\1/')
uptime2=$(uptime | sed -nr 's/.*\s+([[:digit:]]{1,2}):[[:digit:]]{2},.*/\1/p')
size=$(df | grep '^/dev/[hs]d' | awk '{s+=$2} END {printf("%.0f\n", s/1048576)}')
use=$(df | grep '^/dev/[hs]d' | awk -M '{s+=$3} END {printf("%.0f\n", s/1048576)}')
gb=$(echo "G")
pac=$(pacman -Qe | wc -l)
pacman=$(pacman -Q | wc -l)
COUNT=$(cat /proc/cpuinfo | grep 'model name' | sed -e 's/.*: //' | wc -l)
cpu=$(lscpu | grep 'Model name' | awk -F ':' '{print $2}' | cut -c13-40)
#laptop=$(dmidecode | grep Product)
lap1=$(cat /sys/class/dmi/id/sys_vendor)
lap2=$(cat /sys/class/dmi/id/product_name)
vga=$(lspci | grep -i vga | cut -c62-75)
memkb=$(grep MemTotal /proc/meminfo | awk '{print $2}')
ram=$(expr $memkb / 1024)

cat << EOF
$f7$d                                                                                                                                   
$f7                            .      'o;       .                                                                                     
$f7                          ;Nd   'dNMMo   'oKMd                            .MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM             
$f7                         oMMX.oXMMMMMOl0WMMMMd  ..,:cl.                  MM                                           MM           
$f7                        dMMMMMMMMMMMMMMMMMMMMNKWMMMMMMd                 MM                                             MM          
$f7           .,:ldkO0KXXXXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMX                 MM    MMMMM   MM MMMMMM .dOkc  MM  MM          MM          
$f7     .;oONMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM.                MM    0M  MM  MM   MM   KX  Ml MM  MM          MM          
$f7     kMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM'                MM    MMmmW.  MM   MM   X0     MM  MM          MM          
$f7     .MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM;                MM    MMMMMM  MM   MM   X0     MKMMMM          MM          
$f7      kMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM:                MM    MM  WN  MM   MM   KK  Ml Mk  MM          MM          
$f7       NMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM0                MM    MMMMM'  MM   MM   '0XXx' Xd  XM  M  M    MM          
$f7       'WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMx               MM                                             MM          
$f7        :MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM:              cK;                                           MM          
$f7         oMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMW.              .OW.   .:MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM            
$f7          dMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMd              x0..ckOo,                                                 
$f7           oMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMk KW            'XNkko'            $f6 $USER $f7@ $f1$HOSTNAME
$f7            oMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMk kM;          .Ol'                $H $f4$time$NC - $f7$date
$f7             :WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXMMNx.                                                                    
$f7              :MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWWMMMMMMMMMMMMMM0.                                                                    
$f7              .MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM  MMMMMMMM' OMMMOl         OS »$f4 $OS$NC $bit
$f7               NMMMMMMMMMMMMMMMMMMMMMMMMMMMMM  MMMMMMMMKxMM0X:         $f7 WM »$f4 $wm 
$f7               .NMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMW;             
$f7                KMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMO.              Theme » $GtkTheme 
$f7               kMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM0,                Icon  » $GtkIcon 
$f7              cMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNk;.                  Font  » $GtkFont » $f6$TermFont
$f7              c;'.dMMMMMMMMMMMMMMMMMMMMMMMM$t$f1 KKK0kxd             $d$f7        
$f7                  OMMMMMMMMMMMMMMMMXdlc;'.  $t$f1 :ddxx,             $d$f7        $dist with $f2$ram$f7 MB Memory  
$f7                  WMM"'   NMMMMMMk'            $t$f1 lxx.            $d$f7        pacman » $f2$pacman$f7 on $f2$size$f7 GB
$f7                  W       ,MMMM0.              $t$f1 .xxo            $d$f7        
$f7                           :MN;                $t$f1  ;xx;           $d$f7        
$f7                            '.                 $t$f1   dxx.          $d$f7        $cpu 
$f7                                               $t$f1   'xxx.         $d$f7        $lap1 $lap2 
$f7                                               $t$f1    dxxxc.       $d$f7        $vga
$f7          "..you still can go                  $t$f1    .xxxxxo'     $d$f7        
$f7           fuck yourself.."                    $t$f1     ,xxxxxxxl.  $d$f7        
$f7                       the$f1 cat$f7                 $t$f1      cxxxxxxxd  $d$f7        
$f7                                               $t$f1       :cloodxx' $d$f7        
$f7                                                                        
EOF
 

x

Comments

comradeterry said about 11 years ago

I always wondered how you did this. Thanks! :D

hokagemadura said about 11 years ago

i don’t know.. it just happen :/