purhan/src/scripts/misc/vampire.sh
2021-02-08 19:45:11 +05:30

51 lines
No EOL
1.8 KiB
Bash
Executable file
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
shell=$(basename $SHELL)
kernel="$(uname -r | cut -d '-' -f1)"
wmname="$(xprop -id $(xprop -root -notype | awk '$1=="_NET_SUPPORTING_WM_CHECK:"{print $5}') -notype -f _NET_WM_NAME 8t | grep "WM_NAME" | cut -f2 -d \")"
# __.......__
# .-:::::::::::::-.
# .:::''':::::::''':::.
# .:::' ':::' ':::.
# .'\ ::' ':' ':: /'.
# : \ :: :: / :
# : \': ___ ___ :'/ :
# : /\ ( •)\ /( •) /\ :
# : / .\ ‾‾ | | ‾‾ /. \ :
# : \ ( (_) ) / :
# : '_( )_' :
# '. \ < _____ > / .'
# '. \ \ / / .'
# '._ '-._ _.-' _.'
# .''-.__ .''-._.-''. __.-''.
# .' '. .' '.
# .' '-. .-' '.
a=$'' # PURPLE
r=$'' # RED
w=$'' # WHITE
g=$'' # MAGENTA
t=$'' # GREEN
m=$'' # NORMAL
tput clear
cat << EOF
$a __.......__
.-:::::::::::::-.
.:::''':::::::''':::.
.:::' ':::' ':::.$m
$g.'\ $a::'$m $a':'$m $a'::$g /'.$m
$g: \ $a::$m $a::$g / :$m
$g: \'$a:$m ___ ___ $a:$g'/ :
:$w /\ ( •)\ /$w( •)$w /\ $g:
:$w / .\ ‾‾ | | ‾‾ /. \ $g:
:$w \ ( (_) ) / $g:
:$w '_( )_' $g:
'.$w \ < _____ > / $g.'
'.$w \ $r\ /$g $w/ $g.'
'._$w '-._ _.-' $g _.'
$t .''-.__$w .''-._.-''.$t __.-''.
.' '. .' '.
.' '-. .-' '. $m
EOF