Comments (4)
https://github.com/ericm/stonks#usage-with-wtfutil
from stonks.
Good idea :)
from stonks.
Here is a sample config of wtfutil
wtf:
colors:
background: black
border:
focusable: darkslateblue
focused: blue
normal: gray
checked: yellow
highlight:
fore: black
back: gray
rows:
even: yellow
odd: white
grid:
# How _wide_ the columns are, in terminal characters. In this case we have
# four columns, each of which are 35 characters wide.
columns: [33, 33, 33]
# How _high_ the rows are, in terminal lines. In this case we have four rows
# that support ten line of text and one of four.
rows: [20, 20, 20, 20, 20, 20, 20, 20]
refreshInterval: 1
mods:
tech:
type: cmdrunner
args: ["tsla", "intc", "--theme", "dot"]
cmd: "stonks"
enabled: true
position:
top: 0
left: 0
height: 2
width: 3
refreshinterval: 30
title: "🤖 Tech"
financial:
type: cmdrunner
args: ["jpm", "v", "--theme", "dot"]
cmd: "stonks"
enabled: true
position:
top: 2
left: 0
height: 2
width: 3
refreshinterval: 30
title: "💰 Financial"
It ends up looking like
While I was setting up stonks, I noticed that setting a "default value" for the line type does not work, hence why I launched with --theme dot
.
Additionally, I suggest the config be moved to $HOME/.config/stonks/config.yml
or something similar. This would allow multiple configurations to coexist without polluting the base $XDG_CONFIG
directory.
from stonks.
Thanks for the sample, I think I'll add something like that to the README. The issue with setting the default theme should have been fixed in the master branch if you want to try reinstall.
from stonks.
Related Issues (18)
- Some flags not working HOT 7
- panic: decimal division by 0 HOT 4
- Stonks: command not found HOT 5
- Tag Typo
- panic: decimal division by 0 for BLIAQ HOT 2
- Intervals of 1m, 2m cause Go panic/runtime error HOT 2
- [Feature] Squeeze into 80 columns output (currently 89) HOT 3
- Get timezone from http request and modify times accordingly
- Filename: /Users/montanaflynn/.config/stonks requires valid extension. HOT 2
- The command "Stonks" doesnt work correctly but "Stonks -d 1 spy" works fine. HOT 1
- Cool little program! But can it display indexes?
- Refactor graphs package HOT 3
- brew build issues
- http://stonks.icu/ is down
- Errors when building using `go1.19.2 darwin/arm64` on macos 12.6
- Add homebrew tap HOT 10
- Type error when running stonks HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stonks.