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
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
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
ff49ecb082 Closes #29. wtf.go --help [module name] returns help text if any is available. 2018-05-22 20:35:56 -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
8e46547d1c Fixes #35: TextFile only opens files in ~/.wtf/ 2018-05-14 21:04:37 -07:00
Chris Cummer
25430c228d Adds the Weather module to the documentation 2018-05-14 21:04:37 -07:00
Chris Cummer
6e179de0c4 Add help text for Weather 2018-05-03 17:21:59 -07:00
Chris Cummer
1baa884ce9 Add help modal to TextFile module 2018-05-03 17:12:39 -07:00
Chris Cummer
da75e116c1 Fix merge conflict in todo/widget.go 2018-04-29 07:56:02 -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
ed52835650 Todo and TextFile have keyboard short-cut to open file in OS 2018-04-27 15:48:54 -07:00
Chris Cummer
0441ac6902 Screenshot into readme 2018-04-26 14:40:01 -07:00
Chris Cummer
a0ce5eb412 Basic selectable todo functionality working
Can:
- move between todo items
- toggle checked/unchecked state

Cannot:
- persiste changes to file
- add items
- delete items
2018-04-22 20:59:13 -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
1c72c71e81 Icon for textfile title 2018-04-18 15:21:47 -07:00
Chris Cummer
3175b8d9cc Quick run through to add some documentation comments 2018-04-17 15:55:36 -07:00
Chris Cummer
c3abb76612 Add basic textfile widget. 2018-04-15 14:27:41 -07:00