1
0
mirror of https://git.disroot.org/FollieHiyuki/dotfiles.git synced 2024-12-12 09:08:21 -05:00
FollieHiyuki-dotfiles/home/.local/bin/unowns.py
FollieHiyuki e364a25325
river: update config for river-options-v2
Also get rid of the colorscripts
2021-04-21 02:02:43 +03:00

63 lines
1.5 KiB
Python
Executable File

#!/bin/env python
# -*- coding: UTF-8 -*-
__author__ = 'actionless'
import random
unowns = [[
' ▀█▀▀▀█▀ ',
' ▄▀▀▀▄ ',
' ▀▄ ▀ ▄▀ ',
' ▀█▀ ',
' ▄█▄▄▄▄ ',
], [
' █▄ █ ',
' █ ▀▄▀▀▀▄ █ ',
' █ ▀▄ ▀ ▄▀ █ ',
' █ ▀▀▀ ▀▄█ ',
' ▀ ▀ ',
], [
' ▀▀▀█▀▀▀ ',
' ▄▀▀▀▄ ',
' ▀▄ ▀ ▄▀ ',
' ▀▀▀ ',
' ',
], [
' ▀▄ ▄▀ ',
' ▀▄▀▀▀▄▀ ',
' ▀▄ ▀ ▄▀ ',
' ▄▀ ▀▀▀ ▀▄ ',
' ▀ ▀ ',
], [
' █▀▀▄ ',
' ▄▀▀▀▄ ▀▄ ',
' ▀▄ ▀ ▄▀ █ ',
' ▀▀▀ ▄▀ ',
' ▀▀▀ ',
], [
' ▀▄ ▄▀ ',
' ▄▀▀▀▄ ',
' ▀▄ ▀ ▄▀ ',
' ▀█▀ ',
' ▄▀▄ ',
]]
for mode in ['normal', 'bold']:
random.shuffle(unowns)
if mode == 'bold':
print("\033[1m")
print(
'\n'.join([
''.join([
"\033[03{n}m{string}".format(
n=color_number + 1,
string=unowns[color_number][line_number]
)
for color_number in range(6)])
for line_number in range(5)])
)
# reset font:
print("\033[0m")