diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-10-10 11:17:08 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-10-10 11:17:08 -0400 |
commit | 071bbc44de401cd264fe44a6ab330657b56ca329 (patch) | |
tree | f2c56084bd323a7094a8166884354368f6cd1b1b /paraboley | |
parent | 5d829ccfcc8e051397a0fe6d273f7cda258198db (diff) |
Tidy up.
Diffstat (limited to 'paraboley')
-rwxr-xr-x | paraboley | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,20 +1,18 @@ #!/usr/bin/env python # -# Paraboley is a forked made by Aurélien DESBIRÈRES <aurelien@hackers.camp> -# of archey3 to present the Parabola GNU / Linux-libre logo and informations +# Paraboley is a fork of Archey3 made by Aurélien DESBIRÈRES <aurelien@hackers.camp> # # paraboley # # Distributed under the terms of the GNU General Public License v3. # See http://www.gnu.org/licenses/gpl.txt for the full license text. # -# Simple python script to display an Parabola logo in ASCII art +# Simple python script to display a Parabola logo in ASCII art # Along with basic system information. __version__ = "0.3" # Import libraries - import collections import subprocess, optparse, re, sys, configparser from subprocess import Popen, PIPE @@ -99,6 +97,7 @@ WM_DICT = collections.OrderedDict([ ('awesome', 'Awesome'), ('beryl', 'Beryl'), ('blackbox', 'Blackbox'), + ('bspwm', 'bspwm'), ('dwm', 'DWM'), ('enlightenment', 'Enlightenment'), ('fluxbox', 'Fluxbox'), @@ -246,7 +245,7 @@ class fsDisplay(display): def format_output(self, instring): try: decimal_point = self.call_command( - 'locale -ck decimal_point').split('\n')[1].split('=')[1] + 'locale -ck decimal_point').split('\n')[1].split('=')[1].strip('\"') except Exception as e: self.state.logger.warning('Could not determine locale decimal point,' + 'defaulting to \'.\', failed with error {0}'.format(e)) |