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

21 Commits

Author SHA1 Message Date
Chris Cummer
23f53a06b9 Make Bargraph widget work with new module lazy-loading 2018-06-08 15:34:31 -07:00
Hossein Mehrabi
9b7f31877d added Disable method 2018-06-08 05:28:45 +04:30
Hossein Mehrabi
2de364a2ef read widget title from config file 2018-06-04 05:58:37 +04:30
Chris Cummer
9e49c18c44 Close #84. Add wtf.colors.background config option 2018-05-31 08:52:37 -07:00
Chris Cummer
cd5a7968c4 Fix bug with positioning in which I hard-coded the positions because....? 2018-05-18 12:35:59 -07:00
Chris Cummer
8bb9115538 A very basic start to adding some unit tests 2018-05-18 11:54:39 -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
2ecd5e4b84 Closes #44. Cannot tab to disabled widgets. 2018-05-16 17:22:14 -07:00
Chris Cummer
7adc0cdb11 Bringing back the Status widget 2018-05-14 21:04:37 -07:00
Chris Cummer
4727255df6 Focusable widgets get their own border color 2018-05-02 14:27:18 -07:00
Chris Cummer
037c90db85 Widget#focus now a thing
Widgets can inform whether or not they should get tab focus.

Widgets that provide additional functionality should return true.

Widgets that have no extra capability should return false.

This allows the FocusTracker to only tab through and focus on widgets
for which it provides value.
2018-04-28 23:41:51 -07:00
Chris Cummer
3de253bd0d Better color config standardization. It's not just random anymore 2018-04-23 09:17:54 -07:00
Chris Cummer
12ef3919dc Cleanup of stray files. Don't need so many single-use packages 2018-04-18 17:51:43 -07:00
Chris Cummer
912de2fa11 Can focus/blur widgets (with focus border color) 2018-04-17 04:26:18 -07:00
Chris Cummer
693a04b5e1 Removed a bunch of common boilerplate code from widget initialization 2018-04-15 13:08:17 -07:00
Chris Cummer
27a267b123 Cleaner config format and added simple_config.yml example 2018-04-10 11:28:48 -07:00
Chris Cummer
01aab4cc53 wtf.Position into its own file 2018-04-08 05:04:33 -07:00
Chris Cummer
9bda045ce1 Streamlining the widget creation process a bit more. Coords into config 2018-04-07 23:36:05 -07:00
Chris Cummer
79bc8216d6 Don't display disabled widgets 2018-04-07 14:36:13 -07:00
Chris Cummer
ae13d52665 Enabled half-measure: widgets won't run if disabled (still need to not display) 2018-04-07 14:20:21 -07:00
Chris Cummer
b4bc6d4509 Remove a ton of duplication around TextView widget creation 2018-04-07 13:55:08 -07:00