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

115 Commits

Author SHA1 Message Date
Federico Ruggi
d6a97a1b9c Merge branch 'master' into fix-focus-modals
# Conflicts:
#	wtf/focus_tracker.go
2018-07-31 18:35:43 +02:00
Chris Cummer
ac08d7a6d4 Nav shortcuts are now configurable 2018-07-31 08:44:52 -07:00
Federico Ruggi
76bc33c7e6 do not set focus if already taken by widget 2018-07-31 16:43:42 +02:00
Chris Cummer
985c41d3b6 Improve styling on focusable character identifier 2018-07-30 22:31:30 -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
66868a3f49 Unexport colorFor() function 2018-07-26 13:50:37 -07:00
Anand Sudhir Prayaga
4ae8de8bdd Make openFileUtil configurable
Let user configure the command/utility to use to open a file or URL from within a WTF widget
2018-07-24 12:59:21 +02:00
Chris Cummer
6e6d918bfe CmdRunner now displays ANSI color codes 2018-07-18 16:16:28 -07:00
Chris Cummer
8fc6b83d59 Move generic checklist code into its own package 2018-07-18 10:15:46 -07:00
Chris Cummer
857702e971 Add specs for wtf.ChecklistItem 2018-07-12 17:51:23 -07:00
Chris Cummer
5ebab79e2c Clean up the Todoist module code a bit - match names to things 2018-07-12 17:32:19 -07:00
Chris Cummer
4ad25edc0e First pass at creating a generic checklist component
The idea is that checklist-like modules would all share an underlying
checklist implementation (ie: Todo and Todoist) to avoid duplication.
2018-07-12 11:29:41 -07:00
Bryan Austin
0ffbf66f88 Re-work calendar view
As discussed in issue #223 (which has pictures that better explain
the changes here), this change:
- Removes the date from individual events, instead centering a
  title at the start of each day with the date (which uses a new
  configurable color, `wtf.mods.gcal.colors.day`)
- Consolidates 3 lines per event down to 2, moving timestamp to
  front of each event
- Makes the time-until-event text turn red when under 30 minutes
  (wasn't discussed in the issue but was another thing I added
  locally for this, feel free to discard if unwanted)

New format is:
```
           Monday, Jun 25
 x 13:00 Super Cool Meeting Title 2h
 Event location

 x 14:00 Also Super Cool Meeting 3h
 Event location

          Tuesday, Jun 26
 ...
```
2018-07-11 17:19:36 -07:00
Bill Keenan
85dd41bf45 fix bad merge 2018-06-27 14:44:51 -04:00
Bill Keenan
6c09935e56 fixing bad merge 2018-06-27 14:33:22 -04:00
Bill Keenan
ae5ed9ee86 added bargraph unit test 2018-06-27 14:15:16 -04:00
Chris Cummer
1b32dd8277 Delete unused function 2018-06-24 07:52:42 -07:00
Chris Cummer
2fec736935 Add spec coverage to wtf/utils 2018-06-23 14:06:28 -07:00
Chris Cummer
8a0ace3837 Reset permissions on files that were incorrectly set to executable 2018-06-18 08:48:49 -07:00
Chris Cummer
0fc2376179 Add a widget to display the log file in reverse order 2018-06-17 08:05:39 -07:00
Chris Cummer
e92289ebae Move command line flags into it's own module 2018-06-17 08:05:39 -07:00
Lassi Piironen
96e0606c6a Google Calendar: the client reads all the events the user can write on instead of just the accounts primary events, the timestamp printing of the all-day events is handled 2018-06-16 23:37:02 +03:00
Chris Cummer
6bbefb3fb9 Add Display as a concept to separate setup from rendering a bit more 2018-06-15 16:38:11 -07:00
Chris Cummer
c8b22eb588 Close #202. Keep focus on the selected widget when a modal is closed 2018-06-13 15:46:58 -07:00
Chris Cummer
d9e1624304 Delete redundant config functions file 2018-06-13 09:28:58 -07:00
Andrew
a558ee948f Reverted names 2018-06-10 03:36:53 +03:00
Andrew
da1ffdd817 Changed name to andrewzolotukhin 2018-06-10 03:15:58 +03:00
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