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

12 Commits

Author SHA1 Message Date
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
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
9f59ee1f9f Clock is now actually a clock and not a snapshot in time 2018-05-15 13:14:35 -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
bef57d799b Rudimentary modal showing up for Todo on 'e' 2018-04-27 15:48:54 -07:00
Chris Cummer
6fab7c0668 Clocks are sortable 2018-04-19 09:29:49 -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
5e186323e0 A lot of code cleanup for Clocks and Git 2018-04-18 16:57:36 -07:00
Chris Cummer
a9309ccec5 Add Clocks module 2018-04-18 15:04:10 -07:00