1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

19 Commits

Author SHA1 Message Date
Chris Cummer
a48d15079a Remove RefreshedAt from TextWidget
This attribute is used for absolutely nothing. It doesn't need to exist.
2018-10-11 17:12:29 -04:00
Chris Cummer
f650bb1698 Remove the app.Draw() gorountine
Prefer to have widgets force a draw when their data changes. This should
reduce draws (unless the user has a module installed that updates >=
1/sec, the old draw default).

This should also remove a source of some of the race conditions that
users were experiencing (though not all, there are still many).
2018-09-24 14:40:57 -07:00
Chris Cummer
72c192cabf Clean up a bunch of if statements based on govet results 2018-08-03 05:40:39 -07:00
Chris Cummer
3ce6daee71 Fix multiple small issues with widget titles 2018-07-28 17:37:05 -07:00
Chris Cummer
6e6d918bfe CmdRunner now displays ANSI color codes 2018-07-18 16:16:28 -07:00
Chris Cummer
1a898b05e3 Remove complexity from a lot of string display statements 2018-06-21 19:32:32 -07:00
Chris Cummer
66b69471d0 Properly scope Config to the wtf package and remove it as a dependency from everywhere else 2018-06-16 14:59:22 -07:00
Chris Cummer
154cb3ea4f Close #205. cmdrunner will now respect title attribute 2018-06-13 15:41:01 -07:00
Andrew
a558ee948f Reverted names 2018-06-10 03:36:53 +03:00
Andrew
da1ffdd817 Changed name to andrewzolotukhin 2018-06-10 03:15:58 +03:00
Andrew
6288c70156 Returned names of repo 2018-06-10 02:50:16 +03:00
Andrew
77823419b5 Temporary changed username. 2018-06-10 00:16:40 +03:00
Hossein Mehrabi
f33b756d02 removed useless condition in Refresh 2018-06-08 10:59:47 +04:30
Chris Cummer
218b6937b1 Implement ASCII-only widget titles
Widget titles can now be specified in the config file via a 'title' key.
Example:

  wtf:
    mods:
      todo:
        title: Tada

which can include emoji. No need to force everyone to look at my emoji,
now they can define their own.
2018-06-03 20:54:07 -07:00
Hossein Mehrabi
6443df092f use widget.View.SetText to print 2018-06-03 10:53:26 +04:30
Chris Cummer
9f1bad6571 Closes #52. Add Power module
This module displaysw which source is providing power (AC or battery)
and for the battery displays the current charge capacity, how long it
will last, and the battery state.
2018-05-24 22:01:55 -07:00
Chris Cummer
38cf1d5632 Security module now displays logged-in users 2018-05-22 17:51:59 -07:00
Chris Cummer
a62b910893 Closes #43. Add CommandRunner module to the app.
CommandRunner allows you to define a terminal command and arguments, run
it on a schedule, and view the output.

Examples:

   ping -3 cisco.com
2018-05-17 17:15:03 -07:00
Chris Cummer
c3f14025ba WIP 2018-05-17 16:08:04 -07:00