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

74 Commits

Author SHA1 Message Date
Chris Cummer
a46ff5c10e Pull command flags out of main() and into its own file 2018-05-29 17:52:46 -07:00
Chris Cummer
ca48d34566 Help halts the program execution 2018-05-29 16:40:46 -07:00
Hossein Mehrabi
128347e513 now flags support both short and long names. 2018-05-29 16:27:19 -07:00
Hossein Mehrabi
7711fa3d9d fixed focus problem after config live-reloading 2018-05-29 23:19:25 +04:30
Chris Cummer
6437eff165 Make global variables local and pass as params instead 2018-05-29 08:59:19 -07:00
Hossein Mehrabi
a94d1a439f no need to export pages and mainPage 2018-05-29 09:19:48 +04:30
Hossein Mehrabi
880a5beaeb removed my unnecessary codes 2018-05-28 23:00:40 +04:30
Hossein Mehrabi
6870bc5e4f Watch config file for changes 2018-05-28 22:31:43 +04:30
Chris Cummer
9f1bad6571 Closes #52. Add Power module
This module displaysw which source is providing power (AC or battery)
and for the battery displays the current charge capacity, how long it
will last, and the battery state.
2018-05-24 22:01:55 -07:00
Chris Cummer
641dce9333 Add Configuration and Keyboard Commands to Overview documentation. 2018-05-22 20:56:14 -07:00
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
430ade3fe5 Conform ldflag names to those that goreleaser uses 2018-05-17 14:23:41 -07:00
Chris Cummer
ba402358e6 Simplifies the documentation pages 2018-05-16 23:19:14 -07:00
Chris Cummer
a3e593b93f Delete the commented-out help code. 2018-05-16 16:56:35 -07:00
Chris Cummer
c1dd08d594 Move the help code into it's own module 2018-05-16 10:39:24 -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
5353d6ddf7 Closes #37. Help into Git and Github modules 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
6be6afaf2c Merge branch '28-unfocused-tab-problem' 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
780dd51ce7 builtat build flag a var rather than a computed value 2018-05-07 05:33:18 -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
c63d92a1f7 Can edit existing Todo items via modal 2018-04-28 16:17:45 -07:00
Chris Cummer
bef57d799b Rudimentary modal showing up for Todo on 'e' 2018-04-27 15:48:54 -07:00
Chris Cummer
7500a4031d Added the System widget with basic build info 2018-04-24 09:54:53 -07:00
Chris Cummer
fff73c0baf Stub flags for help info 2018-04-23 17:48:32 -07:00
Chris Cummer
5a31de74fe Add Makefile support for 'make install' and version info 2018-04-23 17:35:14 -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
a9309ccec5 Add Clocks module 2018-04-18 15:04:10 -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
06d4d2c2f7 A modest number of disjointed improvements 2018-04-13 14:32:30 -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
0472e8edec Remove some panics, replace with error percolation 2018-04-12 08:56:33 -07:00
Chris Cummer
e8d6d3e49b Simplified Github 2018-04-09 16:39:25 -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
b216005385 Add a pseudo-id for deploys 2018-04-07 23:46:52 -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
79bc8216d6 Don't display disabled widgets 2018-04-07 14:36:13 -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
fd5becd397 Minor config tweaks 2018-04-06 09:58:11 -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