brightness-i2c: fix warning
This commit is contained in:
parent
b7f290e0fa
commit
f86d97e904
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ which ddcutil > /dev/null
|
||||||
if [[ $? -eq 0 ]]; then
|
if [[ $? -eq 0 ]]; then
|
||||||
local I2C_IDS=($(ddcutil detect --terse | grep "I2C bus" | sed "s/^.*-//"))
|
local I2C_IDS=($(ddcutil detect --terse | grep "I2C bus" | sed "s/^.*-//"))
|
||||||
mkdir -p $XDG_RUNTIME_DIR/over
|
mkdir -p $XDG_RUNTIME_DIR/over
|
||||||
echo ${(j|:|)I2C_IDS} > $XDG_RUNTIME_DIR/over/monitors-i2c
|
echo ${(j|:|)I2C_IDS} >! $XDG_RUNTIME_DIR/over/monitors-i2c
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -a "$OVER_PROMPT_CFG" ]]; then
|
if [[ -a "$OVER_PROMPT_CFG" ]]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue