Skip to content

Commit ce3ea6f

Browse files
committed
info-healthchecks.io,system-gpu-optimus: fix quotes
1 parent 24440ed commit ce3ea6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

polybar-scripts/info-healthchecks.io/info-healthchecks.io.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ for status in "${STATES[@]}"; do
4646
output+="|%{F${color}}${count}%{F-}"
4747
done
4848

49-
echo ${output:1}
49+
echo "${output:1}"

polybar-scripts/system-gpu-optimus/system-gpu-optimus.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ gpu_switch() {
2828
next="nvidia"
2929
fi
3030

31-
optimus-manager --switch $next --no-confirm
31+
optimus-manager --switch "$next" --no-confirm
3232
}
3333

3434
gpu_display(){

0 commit comments

Comments
 (0)