File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ Run `stats_provider` with desired options by including it in your `sketchybarrc`
192192``` bash
193193killall 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
198198Example: 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
214214local disk = sbar .add (' item' , ' disk' , {
You can’t perform that action at this time.
0 commit comments