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

46 Commits

Author SHA1 Message Date
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
Chris Cummer
bef57d799b Rudimentary modal showing up for Todo on 'e' 2018-04-27 15:48:54 -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
62c9e3892a Generic PadRow function added 2018-04-23 09:35:23 -07:00
Chris Cummer
3de253bd0d Better color config standardization. It's not just random anymore 2018-04-23 09:17:54 -07:00
Chris Cummer
d7bc26684a Some minor cleanup 2018-04-22 23:40:57 -07:00
Chris Cummer
4fb308c555 Can delete items from Todo list 2018-04-22 21:31:02 -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
590c83c134 Display the error if the config file cannot be loaded 2018-04-19 06:01:16 -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
3175b8d9cc Quick run through to add some documentation comments 2018-04-17 15:55:36 -07:00
Chris Cummer
912de2fa11 Can focus/blur widgets (with focus border color) 2018-04-17 04:26:18 -07:00
Chris Cummer
6321182b7e Fetches, stores, and returns multiweather, with ticks marks in display 2018-04-16 03:53:29 -07:00
Chris Cummer
0b20c4939e Accepts optional --config argument to specify a config file 2018-04-15 14:41:39 -07:00
Chris Cummer
c3abb76612 Add basic textfile widget. 2018-04-15 14:27:41 -07:00
Chris Cummer
693a04b5e1 Removed a bunch of common boilerplate code from widget initialization 2018-04-15 13:08:17 -07:00
Chris Cummer
84ecf296a5 RefreshedAt moved to the end of the refresh (because that makes more sense, doesn't it?) 2018-04-13 16:14:57 -07:00
Chris Cummer
8e3287ba5c Cleaner code around widget creation in wtf.go 2018-04-13 12:00:29 -07:00
Chris Cummer
da27ad60a9 Add Ctrl-R to manually force a widget refresh 2018-04-12 15:19:08 -07:00
Chris Cummer
1bf6efdaf8 Hacky timezone display in Status 2018-04-12 12:00:11 -07:00
Chris Cummer
34b5b69231 Differentiate between right now Now() and today from midnight 2018-04-10 12:42:28 -07:00
Chris Cummer
27a267b123 Cleaner config format and added simple_config.yml example 2018-04-10 11:28:48 -07:00
Chris Cummer
10142ebddc Add the ability to get BambooHR away tomorrow 2018-04-09 13:30:21 -07:00
Chris Cummer
7072820967 Column and row definitions into the config file. No need to compile to change sizes 2018-04-09 13:19:16 -07:00
Chris Cummer
01aab4cc53 wtf.Position into its own file 2018-04-08 05:04:33 -07:00
Chris Cummer
9bda045ce1 Streamlining the widget creation process a bit more. Coords into config 2018-04-07 23:36:05 -07:00
Chris Cummer
cbf5b45c62 Add the Enabler and TextViewer interfaces 2018-04-07 14:39:28 -07:00
Chris Cummer
79bc8216d6 Don't display disabled widgets 2018-04-07 14:36:13 -07:00
Chris Cummer
ae13d52665 Enabled half-measure: widgets won't run if disabled (still need to not display) 2018-04-07 14:20:21 -07:00
Chris Cummer
b4bc6d4509 Remove a ton of duplication around TextView widget creation 2018-04-07 13:55:08 -07:00
Chris Cummer
1404140b82 Faster start by having async initial refresh 2018-04-06 21:35:55 -07:00
Chris Cummer
6303acc9a4 Basic New Relic deploy info 2018-04-06 21:14:19 -07:00
Chris Cummer
a82db2bea8 Cleaner pretty dates 2018-04-06 16:27:51 -07:00
Chris Cummer
fb637700b1 Displays Github review requests and PRs 2018-04-05 21:16:55 -07:00
Chris Cummer
3c30bc4732 Creates the ~/.wtf directory. Displays a message if the config file is missing. 2018-04-04 20:02:03 -07:00
Chris Cummer
71f8fc789f A ton of cleanup around how config is handled and go rountines are executed 2018-04-04 18:02:59 -07:00
Chris Cummer
b58c0ea212 Url added to BambooHR config 2018-04-04 08:58:17 -07:00
Chris Cummer
62502c24d0 An experimental attempt to kill the zombie processes 2018-04-02 11:00:45 -07:00
Chris Cummer
176a821079 The /wtf directory is now in source control 2018-04-02 08:43:42 -07:00