summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurie <bluepeppers@archlinux.us>2010-01-18 15:56:06 +0000
committerLaurie <bluepeppers@archlinux.us>2010-01-18 15:56:06 +0000
commitdeff2be563581ef60f3f71e2ebeffdae543f67f5 (patch)
tree9ac70b15ebfbf10e8a3c9bb122083d5a7c9f81da
parent5b7e1e6427980bb1af3e37f2e34961e0cb7e346e (diff)
Changed logos to multi line list, should improve memory usage slightly
-rw-r--r--archey102
1 files changed, 49 insertions, 53 deletions
diff --git a/archey b/archey
index ea7aaec..1685053 100644
--- a/archey
+++ b/archey
@@ -260,59 +260,55 @@ colors = {'Arch Linux': (color, color, color, result[0], color, result[1], color
'Ubuntu': 'color3, color3, color2, color3, color2, color3, result[0], color, color2, color3, result[1], color, color2, color3, result[2], color, color2, result[3], color, color2, result[4], color, color2, result[5], color, color2, result[6], color2, color, color2, result[7], color2, color, color2, result[8], color2, color, result[9], color2, color, color3, result[10], color2, color, color3, result[11], color, color3, result[12], color, color3, result[13], color, color3, result[14], color, color3, color, color3, color, color, color3, color, color3, color, color3, color, color, color, clear'}
###### Result #######
-logos = {'Arch Linux': ["%s ",
-"%s + ",
-"%s # %s",
-"%s ### %s",
-"%s ##### %s",
-"%s ###### %s",
-"%s ; #####; %s",
-"%s +##.##### %s",
-"%s +########## %s",
-"%s ######%s#####%s##; %s",
-"%s ###%s############%s+ %s",
-"%s #%s###### ####### %s",
-"%s .######; ;###;`\". %s",
-"%s .#######; ;#####. %s",
-"%s #########. .########` %s",
-"%s ######' '###### %s",
-"%s ;#### ####; %s",
-"%s ##' '## ",
-"%s #' `# ",
-"%s "],
- 'Ubuntu': [" ",
-"%s ++++++ ",
-"%s ++++++++ ",
-"%s ++++++++++ %s++++++++ ",
-"%s ++++++++++++ %s++++++++ %s",
-"%s ++ %s++++++++++++ %s++++++ %s",
-"%s +++++ %s++++++++++++ %s^^^^ %s",
-"%s +++++++ %s+++++++++++++++++++ %s",
-"%s +++++++++ %s+++++++++++ %s",
-"%s ++++++++++ %s++++++++++ %s",
-"%s ++++++++ %s++++++++++ %s",
-"%s ++++++ %s++++++ %s++++++++++ %s",
-"%s ++++++++ %s+++++ %s+++++++++ %s",
-"%s +++++++++ %s++++ %s",
-"%s ++++++++ %s+++++ %s+++++++++ %s",
-"%s ++++++ %s++++++ %s++++++++++ %s",
-"%s ++++++++ %s++++++++++ %s",
-"%s +++++++++ %s++++++++++ %s",
-"%s +++++++++ %s++++++++++++ %s",
-"%s +++++++ %s+++++++++++++++++++ ",
-"%s +++++ %s++++++++++++ %s,,,, ",
-"%s ++ %s++++++++++++ %s++++++ ",
-"%s ++++++++++++ %s++++++++ ",
-"%s ++++++++++ %s++++++++ ",
-"%s ++++++++ ",
-"%s ++++++ ",
-"%s "]}
-
-logo = ''
-for line in logos[os]:
- logo += line + '\n'
-
-print logo % colors[os]
+logos = {'Arch Linux': ['''%s
+%s +
+%s # %s
+%s ### %s
+%s ##### %s
+%s ###### %s
+%s ; #####; %s
+%s +##.##### %s
+%s +########## %s
+%s ######%s#####%s##; %s
+%s ###%s############%s+ %s
+%s #%s###### ####### %s
+%s .######; ;###;`\". %s
+%s .#######; ;#####. %s
+%s #########. .########` %s
+%s ######' '###### %s
+%s ;#### ####; %s
+%s ##' '##
+%s #' `#
+%s '''],
+ 'Ubuntu': ['''
+%s ++++++
+%s ++++++++
+%s ++++++++++ %s++++++++
+%s ++++++++++++ %s++++++++ %s
+%s ++ %s++++++++++++ %s++++++ %s
+%s +++++ %s++++++++++++ %s^^^^ %s
+%s +++++++ %s+++++++++++++++++++ %s
+%s +++++++++ %s+++++++++++ %s
+%s ++++++++++ %s++++++++++ %s
+%s ++++++++ %s++++++++++ %s
+%s ++++++ %s++++++ %s++++++++++ %s
+%s ++++++++ %s+++++ %s+++++++++ %s
+%s +++++++++ %s++++ %s
+%s ++++++++ %s+++++ %s+++++++++ %s
+%s ++++++ %s++++++ %s++++++++++ %s
+%s ++++++++ %s++++++++++ %s
+%s +++++++++ %s++++++++++ %s
+%s +++++++++ %s++++++++++++ %s
+%s +++++++ %s+++++++++++++++++++
+%s +++++ %s++++++++++++ %s,,,,
+%s ++ %s++++++++++++ %s++++++
+%s ++++++++++++ %s++++++++
+%s ++++++++++ %s++++++++
+%s ++++++++
+%s ++++++
+%s ''']}
+
+print logos % colors[os]
if screen == 'True':
screenshot()