Skip to content

Commit 21d8197

Browse files
committed
chore(docs): assume stats_provider is in PATH
1 parent d82b14e commit 21d8197

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ Run `stats_provider` with desired options by including it in your `sketchybarrc`
192192
```bash
193193
killall stats_provider
194194
# Update with path to stats_provider
195-
$CONFIG_DIR/sketchybar-system-stats/target/release/stats_provider --cpu usage --disk usage --memory ram_usage &
195+
stats_provider --cpu usage --disk usage --memory ram_usage &
196196
```
197197

198198
Example: use `stats_provider` to add an item `disk_usage`, subscribe to the `system_stats` event and update the `disk_usage` item.
@@ -208,7 +208,7 @@ sketchybar --add item disk_usage right \
208208

209209
```lua
210210
-- Update with path to stats_provider
211-
sbar.exec('killall stats_provider >/dev/null; $CONFIG_DIR/sketchybar-system-stats/target/release/stats_provider --cpu usage --disk usage --memory ram_usage')
211+
sbar.exec('killall stats_provider >/dev/null; stats_provider --cpu usage --disk usage --memory ram_usage')
212212

213213
-- Subscribe and use the `DISK_USAGE` var
214214
local disk = sbar.add('item', 'disk', {

0 commit comments

Comments
 (0)