Chris Cummer
6d8b20c785
Formatting text in the textview is now optional
2018-08-19 14:07:34 -07:00
Chris Cummer
976e24b431
Remove highlight and implement Chroma syntax highlighting instead
2018-08-19 13:57:36 -07:00
Chris Cummer
9154441c32
Common help code into HelpfulWidget
2018-08-01 15:54:29 -07:00
Chris Cummer
00abe70309
Improves the speed of the help modal display
2018-08-01 15:12:05 -07:00
Chris Cummer
beb0c43b07
Add character identifiers to focusable widgets
...
When no widget has focus, press the letter key to focus on the widget
assigned to that letter.
Example:
GitHub (d)
Press "d" to focus on the GitHub widget.
2018-07-30 15:51:19 -07:00
Chris Cummer
3ce6daee71
Fix multiple small issues with widget titles
2018-07-28 17:37:05 -07:00
Rohan Verma
e8f726696d
feat: Added syntax highlighting to textfile widget.
2018-07-20 12:10:08 +05:30
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
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