Commit graph

59 commits

Author SHA1 Message Date
Von Random
94502d2d61 batt: add default title; load: change default title 2019-10-28 15:55:35 +03:00
Von Random
b03a588182 plugins: allow disabling of title field; pacman: rename to cmd; cmd: use first line of output as value, not line count 2019-10-28 11:57:51 +03:00
Von Random
d824345ba1 plugins: improve readability, move to str().format() in many places 2019-07-08 14:19:05 +03:00
Von Random
bd549b0cc9 plugins, vdstatus: massive plugin overhaul, conf: some formatting 2019-07-05 18:24:46 +03:00
Von Random
9902696f1f vdstatus: replace deprecated yaml.load() with yaml.safe_load() call 2019-06-17 12:48:43 +03:00
Von Random
c3700821af gitignore: ignore plugins/custom*.py, because some stuff has to be hard coded 2019-06-17 12:45:44 +03:00
Von Random
5e6519a51e filecat plugin: a simple plugin to read file contents 2019-05-24 12:14:08 +03:00
Von Random
151c94c5f3 vdstatus, plugins: some refactoring and better usage of dict() methods; rename fga to fortune and make uri configurable 2019-03-28 13:21:15 +03:00
Von Random
7459d29c68 pacman plugin: not so much pacman anymore, but line counter; still defaults to pacman though 2019-03-21 15:17:38 +03:00
Von Random
de6888a5d2 load plugin: get rid of list comprehension altogether 2019-03-11 16:19:52 +03:00
Von Random
0e0466d16e vdstatus: proper utf-8 output in json 2019-03-11 14:51:23 +03:00
Von Random
579e0d0069 mem plugin: update formatting as well 2019-03-11 14:38:01 +03:00
Von Random
dac9efdd42 load plugin: formatting update, less frequent queries 2019-03-11 14:33:05 +03:00
Von Random
26313c0564 completely remove global hide_ok to avoid ambiguity 2019-03-06 13:01:06 +03:00
Von Random
261847493e add dependencies to the readme 2019-03-06 12:06:37 +03:00
Von Random
e783b5c86e remove todo for fga, add support for hide_ok in mem 2019-03-06 11:31:39 +03:00
Von Random
b163eb516e some cleanup 2019-03-05 19:24:23 +03:00
Von Random
c70a4549cb some more sensible defaults, get rid of todo 2019-03-05 19:21:11 +03:00
Von Random
46f3d778af move config to yaml, json is atrocious 2019-03-05 12:33:05 +03:00
Von Random
ba862efad9 fix pacman plugin to properly parse command output 2019-02-28 19:00:49 +03:00
Von Random
e33bf61a30 fix and simplify pacman.py 2019-01-31 14:19:43 +03:00
Von Random
6fc4d3176d replace an ugly hack with a proper subprocess.Popen() in the pacman plugin 2019-01-16 14:46:52 +03:00
Von Random
27160d61bd reverse retry condition 2018-11-09 14:44:47 +03:00
Von Random
c6a995caee retry for fga plugin 2018-11-09 14:43:38 +03:00
Von Random
05f83d818b fucking-great-advice added 2018-11-02 20:15:33 +03:00
Von Random
412f2de6b7 there is no need to explicitly pass sys.argv to argparse... embarrassing 2018-05-24 14:38:15 +03:00
Von Random
9cd7b68967 a bit of refactoring, now batt and pacman plugins have more options 2018-04-28 19:40:10 +03:00
Von Random
5e17aca8e2 use json instead of ini: less readable, easier to work with 2017-12-16 02:55:28 +03:00
Von Random
f5c49008ec add pytz to the mix, so that we can display time for specific time zones (totally optional dependency) 2017-11-30 01:20:35 +03:00
Von Random
e84936b3f8 a quick and very ugly fix for pacman -Qu 2017-01-13 14:30:52 +03:00
Von Random
4834c25da4 add hide_ok option support both globally (precedence) and per plugin, true by default 2017-01-13 14:00:37 +03:00
Von Random
31ece2995a use a proper tool to check for updates 2017-01-13 13:36:09 +03:00
Von Random
d921f17f1c update notification should be urgent 2017-01-13 11:22:08 +03:00
Von Random
47d9cf14dc remove unused modules 2017-01-12 16:57:39 +03:00
Von Random
c39132ab59 add pacman plugin to monitor the number of available updates 2017-01-12 16:56:32 +03:00
Von Random
5616f4d575 move plugins.common only class into plugins module 2016-11-28 14:48:11 +03:00
Von Random
0495bc2d79 get rid of thread_id and useless logic it used 2016-11-21 13:34:32 +03:00
Von Random
bb9658d053 yay, found out about Thread.daemon lol, also more oop and less code duplication 2016-11-19 18:44:40 +03:00
Von Random
240fff91ee a bit more OOP 2016-11-18 19:48:10 +03:00
Von Random
49d14d410a some primitive exit handling, still have to do something about waiting till the longest freq value is reached 2016-11-18 18:42:28 +03:00
Von Random
9db9a935d4 hiding load average in ok status is now optional 2016-11-03 18:59:00 +03:00
Von Random
d2ded008d2 enable unbuffered print instead of using shebang
(requires python 3.3+)
2016-10-31 20:16:54 +03:00
Von Random
75beff2610 fix battery status staying urgent after being charged 2016-10-31 16:35:38 +03:00
Von Random
9e971469b4 load average as well 2016-10-31 15:20:07 +03:00
Von Random
cc402b0e23 disk check to auto hide as well 2016-10-31 15:10:30 +03:00
Von Random
68f268d7c2 replace colors with urgency status + add means to hide unimportant measures; TODO: configurabilty of hiding 2016-10-25 19:48:40 +03:00
Von Random
16706a5d5f oops, fix one symbol missing 2016-10-23 12:09:06 +03:00
Von Random
24d9df968e style fix + TODO list 2016-10-23 02:46:53 +03:00
Von Random
b1d44b5582 fix config.get -> config.getint 2016-10-23 02:27:27 +03:00
Von Random
b839f9f114 disk and load plugins, freq option support for all plugins 2016-10-23 01:53:02 +03:00