Chris Cummer
66b69471d0
Properly scope Config to the wtf package and remove it as a dependency from everywhere else
2018-06-16 14:59:22 -07:00
Chris Cummer
3d1202126f
Remove redundant code from SystemInfo
2018-06-15 03:33:13 -07:00
Chris Cummer
20e49ee749
Add platform-specific compile directives to system module
2018-06-14 16:41:08 -07:00
Mike Lloyd
4a4ea2abe8
Merge branch 'master' of https://github.com/senorprogrammer/wtf
2018-06-11 09:38:33 -06:00
Hossein Mehrabi
f33b756d02
removed useless condition in Refresh
2018-06-08 10:59:47 +04:30
liyiheng
c3111c20fc
Merge branch 'master' of https://github.com/senorprogrammer/wtf
2018-06-04 14:27:41 +08:00
Mike Lloyd
db29639301
Merge branch 'master' of https://github.com/senorprogrammer/wtf
...
fixed conflict.
Signed-off-by: Mike Lloyd <mike@reboot3times.org>
2018-06-03 23:20:12 -06:00
Mike Lloyd
7c03d607cb
added Windows support.
...
Fixed build number and OS version for Windows.
Signed-off-by: Mike Lloyd <mike@reboot3times.org>
2018-06-03 22:55:00 -06:00
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
liyiheng
6e1b8b3b47
Bug fix: lsb_release
2018-06-04 10:31:05 +08:00
Hossein Mehrabi
6443df092f
use widget.View.SetText to print
2018-06-03 10:53:26 +04:30
liyiheng
12c8693661
Update system_info.go
2018-06-02 11:43:50 +08:00
liyiheng
efdfa8d119
Update system_info.go
2018-06-02 11:41:30 +08:00
Chris Cummer
225094c978
Add a missing require and a missing var declaration to system_info.go
2018-06-01 09:13:21 -07:00
deltax
53c1a7938c
Update system_info.go
2018-06-01 17:57:41 +02:00
deltax
0d60c8356c
Quick fix for #105
...
- add lsb_release because sw_vers doesn't work on linux
- add system check
2018-06-01 12:33:11 +02: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
89497561bc
SystemInfo struct is now master of its own domain
2018-05-14 21:04:37 -07:00
Chris Cummer
06702835f3
Closes #32 . OS version and build info into System module
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
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
7500a4031d
Added the System widget with basic build info
2018-04-24 09:54:53 -07:00