Chris Cummer
5e13618813
Close #168 . Modal dialogs now center onscreen properly
2018-06-09 08:52:32 -07:00
Chris Cummer
d2dfcd8978
Add cfg/ as a top-level package concept
2018-06-09 03:58:45 -07:00
Chris Cummer
23f53a06b9
Make Bargraph widget work with new module lazy-loading
2018-06-08 15:34:31 -07:00
Chris Cummer
1523ef6245
Merge branch 'master' into master
2018-06-08 11:59:54 -07:00
Chris Cummer
77977420e6
Merge branch 'master' into addLogging
2018-06-08 10:40:00 -07:00
Hossein Mehrabi
9b7f31877d
added Disable method
2018-06-08 05:28:45 +04:30
Bill Keenan
d8d3ed19fc
Merge branch 'master' into master
2018-06-07 16:05:36 -07:00
Bill Keenan
1d20a29535
Merge branch 'master' into addLogging
2018-06-07 16:02:54 -07:00
Bill
2ce69e9701
added a basic logging module, and a basic log 'running' in wtf.go
2018-06-07 15:10:22 -07:00
Hossein Mehrabi
af98a750f1
stop widget's scheduler if the widget disabled after live-reloading
2018-06-08 02:02:42 +04:30
Bill Keenan
dfb33dba97
Merge branch 'master' into master
2018-06-07 10:48:36 -07:00
Bill
540dee04d7
updated with suggestions from @senorprogrammer
2018-06-06 11:31:52 -07:00
Bill
56158d2e93
Built Graph Widget, working with basic sample
2018-06-05 16:05:06 -07:00
liyiheng
c3111c20fc
Merge branch 'master' of https://github.com/senorprogrammer/wtf
2018-06-04 14:27:41 +08:00
liyiheng
9828e5ba3e
Improvement: Power mod for Linux
2018-06-04 14:27:05 +08:00
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
d9d1a82c89
Change -i flag to -m. See 'wtf --help' for details
2018-05-31 05:22:47 -07:00
Chris Cummer
d0da319a52
Closes #72 . --info flag displays module help text
...
Usage:
wtf -i=todo
wtf --info=todo
2018-05-29 18:02:11 -07:00
Chris Cummer
a46ff5c10e
Pull command flags out of main() and into its own file
2018-05-29 17:52:46 -07:00
Chris Cummer
dcfacd9510
[WTF-53] Closes #53 . Todo display properly pads line lengths.
...
[WTF-53]
2018-05-26 21:19:08 -07:00
Chris Cummer
52156e13b9
Spelling mistake in config path
2018-05-25 15:56:30 -07:00
Chris Cummer
6d230a3d70
Apparently I don't know how to spell 'sigil'
2018-05-24 22:05:37 -07:00
Chris Cummer
5f7c3260c1
Now possible to define the characters for use in paging indicators
2018-05-24 09:03:00 -07:00
Chris Cummer
f23ac8573f
Fixes bug with default configuration YAML
2018-05-22 21:47:06 -07:00
Chris Cummer
38cf1d5632
Security module now displays logged-in users
2018-05-22 17:51:59 -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
27107fcd37
Closes #33 . Creates .wtf dir and config.yml if they don't exist.
2018-05-16 10:23:46 -07:00
Chris Cummer
0ff65bbd5c
Row color as common function
2018-05-14 21:04:37 -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
7adc0cdb11
Bringing back the Status widget
2018-05-14 21:04:37 -07:00
Chris Cummer
d246cb4c4a
Rename TextViewer to Wtfable
2018-05-14 21:04:37 -07:00
Chris Cummer
6158a055da
Better focus check code using FocustState enum
2018-05-14 21:04:37 -07:00
Chris Cummer
00504c43ff
Fixes #39 . Unfocused tab problem solved
2018-05-14 21:04:37 -07:00
Chris Cummer
72f9543e75
Can dismiss help modal from the keyboard
2018-05-03 17:02:17 -07:00
Chris Cummer
8d0a0b81fa
Less crap display of the help modal. Just need to figure out key events now
2018-05-03 15:56:06 -07:00
Chris Cummer
351f5100bc
Closer to having a help modal. Text is showing onscreen (badly)
2018-05-03 15:49:06 -07:00
Chris Cummer
53d2fdacda
A crap version that uses tview's Modal
2018-05-03 11:26:53 -07:00
Chris Cummer
6ccdbabec9
WIP Very rudimentary modal showing up
2018-05-03 08:56:15 -07:00
Chris Cummer
4727255df6
Focusable widgets get their own border color
2018-05-02 14:27:18 -07:00
Chris Cummer
90ab57e1b2
Ensure the origin refresh() always kicks off, even for 0-interval widgets.
2018-05-01 14:26:56 -07:00
Chris Cummer
d982ca48c5
Add FocusTracker#Refocus()
2018-04-29 22:42:29 -07:00
Chris Cummer
eb9a56ed77
Zero focusables not a problem anymore
2018-04-29 11:57:49 -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
4a30de5d51
Rough draft of adding new items to Todo
2018-04-28 22:06:12 -07:00