Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-01-12 | reverted to old version, bluepeppers see mearchey2.old/master | DjMelik | |
2010-11-23 | Fixed error calculating persentage used reported by tvieira | Laurie Clark-Michalek | |
2010-11-22 | Added color to fs display function, and added a _color function for ↵ | Laurie Clark-Michalek | |
BaseDisplay class. | |||
2010-11-22 | Fixed small problem with FS display module when showing root FS | Laurie Clark-Michalek | |
2010-11-22 | Display modules can now be configured in the configuration file. | Laurie Clark-Michalek | |
The configuration file show defign a list of strings refering to display classes named 'display'. | |||
2010-11-22 | Added config framework file loading. Config file is in ↵ | Laurie Clark-Michalek | |
$XDG_CONFIG_HOME/archey.py. The config file is non compulsary, and should be treated as dangerous. Currently allowed config options are 'results_align' which can be 'top', 'bottom' or (default) 'center'. 'custom' is also allowed, but the config file must defign a 'custom_align' function taking the list of results, and a max_length kwarg, and returning the aligned results to be outputted. | |||
2010-11-21 | Fix syntax error in archey introduced in commit 1603bfb | Laurie Clark-Michalek | |
2010-11-19 | Added file system display class | Laurie Clark-Michalek | |
2010-11-19 | Removed 'key' from forced attributes when using @shell_command. | Laurie Clark-Michalek | |
2010-11-19 | DesktopEnvironment was causing exceptions. | Laurie Clark-Michalek | |
2010-11-19 | Added missing comma between uptime days and hours. | Laurie Clark-Michalek | |
2010-11-19 | Allowed classes to take arguments from the display list, with the syntax ↵ | Laurie Clark-Michalek | |
'cmdname:arg1,arg2' with no limit on the amount of args. This gives us a flexible framework to give the users more options for our Display classes. Display classes can be acsessed via the Display's 'arguments' attribute. | |||
2010-11-19 | Added @shell_command class decorator to make dealing with Display classes. | Laurie Clark-Michalek | |
See help(shell_command) for more info | |||
2010-11-19 | Moved the Output.distro variable into a global DISTRO variable. | Laurie Clark-Michalek | |
This will allow display classes to calculate output taking into account the distro we are running on. | |||
2010-11-19 | Allow display classes to fail silently when rendering. | Laurie Clark-Michalek | |
2010-11-19 | Migrated existing display classes to new get_value format. | Laurie Clark-Michalek | |
2010-11-19 | Added get_value and get_key functions to BaseDisplay class. | Laurie Clark-Michalek | |
These allow the key/value to be generated seperatly from the other, as if they are not overridden, they will simply return either the classes key or value attribute. This way they are fully backwards compatible. See the relevent docstring for more information. | |||
2010-11-19 | Evaluate display classes at the last minute, and via an accessor function. | Laurie Clark-Michalek | |
This allows display classes to implement functions to return their key value pairs, instead of forcing them to do it in the __init__ function. Output.append has been removed, as it is implemented by the inherited list. | |||
2010-11-19 | Base the Output class on the list type for a small speed up. | Laurie Clark-Michalek | |
Basing a class on a type implemented in C makes the derived class much faster. It's not much use here, but it's a good habbit. | |||
2010-11-18 | Added main function and conditional execution | Laurie Clark-Michalek | |
2010-11-18 | Output is now aligned from the center outwards. | Laurie Clark-Michalek | |
Renamed globals to uppercase to allow for better understanding. Added Output._getlogo in anticipation of configuration system, and Output._color for convinience. Output._center_results centers a list inside another list of ' 's. Length out outputed list can be given via max_length kwarg. | |||
2010-11-18 | Added BaseDisplay base class. | Laurie Clark-Michalek | |
This class should be inherited by all Display classes. It implements generic display functions, though only repr currently. See help(BaseDisplay) for more info. | |||
2010-11-18 | Added @enviromental_variable class decorator. | Laurie Clark-Michalek | |
The @enviromental_variable class decorator automaticly generates the value of a class, aslong as it has both a 'key' and a 'env' variable. See the docstring for more info, and example usage. | |||
2010-11-18 | Converted classes to new style classes. | Laurie Clark-Michalek | |
Old style classes (with out a pair of brackets at the end of their name) are due to be depreciated some time in the future. | |||
2010-11-17 | We don't need these imports anymore. | David Vazgenovich Shakaryan | |
2010-11-17 | Get a list of processes that actually works. | David Vazgenovich Shakaryan | |
2010-11-17 | added missing ' | DjMelik | |
2010-11-17 | spaces > tabs | DjMelik | |
2010-11-17 | added process detection | DjMelik | |
2010-11-17 | more cleanup | DjMelik | |
2010-11-17 | Merge branch 'master' of github.com:djmelik/archey | DjMelik | |
2010-11-17 | cleanup | DjMelik | |
2010-11-17 | Merge branch 'master' of github.com:djmelik/archey | David Vazgenovich Shakaryan | |
2010-11-17 | removed a tab | DjMelik | |
2010-11-17 | If distro not detected, exit with error exit code. | David Vazgenovich Shakaryan | |
2010-11-17 | No need to inherit from Output class. | David Vazgenovich Shakaryan | |
2010-11-17 | Check if file exists instead of opening it. | David Vazgenovich Shakaryan | |
2010-11-17 | cleanup | DjMelik | |
2010-11-17 | initial push for archey in puthon3 | DjMelik | |
2010-10-21 | Python to Python2 | DjMelik | |
2010-10-05 | reordered output | Melik Manukyan | |
2010-10-04 | changed ramdisplay color from white to yellow | Melik Manukyan | |
2010-10-04 | im stupid | Melik Manukyan | |
2010-10-04 | small cleanup | Melik Manukyan | |
2010-10-04 | indentation error | Melik Manukyan | |
2010-10-04 | fixed minor bug in ram function | Melik Manukyan | |
2010-10-04 | minor bug fix in disk function | DjMelik | |
2010-10-04 | reworked filesytem function, added color to RAM/Disk | DjMelik | |
2010-09-20 | replace xfconfd with xfce4-session | Melik Manukyan | |
2010-08-30 | Support for Linux Mint added | Melik Manukyan | |