fix gpu memory
This commit is contained in:
parent
49a1c3f6c3
commit
a588a9d517
2 changed files with 3 additions and 3 deletions
|
@ -142,7 +142,7 @@ main()
|
||||||
script="#($current_dir/gpu_usage.sh)"
|
script="#($current_dir/gpu_usage.sh)"
|
||||||
|
|
||||||
elif [ $plugin = "gpu-ram-usage" ]; then
|
elif [ $plugin = "gpu-ram-usage" ]; then
|
||||||
IFS=' ' read -r -a colors <<< $(get_tmux_option "@dracula-gpu-ram-usage-colors" "pink dark_gray")
|
IFS=' ' read -r -a colors <<< $(get_tmux_option "@dracula-gpu-ram-usage-colors" "cyan dark_gray")
|
||||||
script="#($current_dir/gpu_ram_info.sh)"
|
script="#($current_dir/gpu_ram_info.sh)"
|
||||||
|
|
||||||
elif [ $plugin = "cpu-usage" ]; then
|
elif [ $plugin = "cpu-usage" ]; then
|
||||||
|
|
|
@ -38,7 +38,7 @@ main()
|
||||||
{
|
{
|
||||||
# storing the refresh rate in the variable RATE, default is 5
|
# storing the refresh rate in the variable RATE, default is 5
|
||||||
RATE=$(get_tmux_option "@dracula-refresh-rate" 5)
|
RATE=$(get_tmux_option "@dracula-refresh-rate" 5)
|
||||||
gpu_label=$(get_tmux_option "@dracula-gpu-usage-label" "GPU RAM")
|
gpu_label=$(get_tmux_option "@dracula-gpu-usage-label" "VRAM")
|
||||||
gpu_usage=$(get_gpu)
|
gpu_usage=$(get_gpu)
|
||||||
echo "$gpu_label $gpu_usage"
|
echo "$gpu_label $gpu_usage"
|
||||||
sleep $RATE
|
sleep $RATE
|
||||||
|
|
Loading…
Reference in a new issue