mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Make openFileUtil configurable
Let user configure the command/utility to use to open a file or URL from within a WTF widget
This commit is contained in:
@@ -24,6 +24,7 @@ wtf:
|
||||
# that support ten line of text, one of three lines, and one of four
|
||||
rows: [10, 10, 10, 10, 10, 3, 4]
|
||||
# The app redraws itself once a second
|
||||
openFileUtil: open
|
||||
refreshInterval: 1
|
||||
term: "xterm-256color"
|
||||
```
|
||||
@@ -65,6 +66,9 @@ An array that defines the heights of all the rows. <br />
|
||||
Values: See <a href="https://github.com/rivo/tview/wiki/Grid">tview's
|
||||
Grid</a> for details.
|
||||
|
||||
`openFileUtil` <br />
|
||||
Command to use to open a file or URL
|
||||
|
||||
`refreshInterval` <br />
|
||||
How often, in seconds, the UI refreshes itself. <br />
|
||||
**Note:** This implementation is probably wrong and buggy and likely to
|
||||
|
||||
Reference in New Issue
Block a user