Dotfiles for my tiling window manager + terminal workflow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.5 KiB

  1. #!/usr/bin/env python
  2. # -*- coding: UTF-8 -*-
  3. __author__ = 'actionless'
  4. import random
  5. unowns = [[
  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. for mode in ['normal', 'bold']:
  43. random.shuffle(unowns)
  44. if mode == 'bold':
  45. print("\033[1m")
  46. print(
  47. '\n'.join([
  48. ''.join([
  49. "\033[03{n}m{string}".format(
  50. n=color_number + 1,
  51. string=unowns[color_number][line_number]
  52. )
  53. for color_number in range(6)])
  54. for line_number in range(5)])
  55. )
  56. # reset font:
  57. print("\033[0m")