diff --git a/lib/prompt-init b/lib/prompt-init index ae8a5ea..3bf7c01 100755 --- a/lib/prompt-init +++ b/lib/prompt-init @@ -9,7 +9,7 @@ which ddcutil > /dev/null if [[ $? -eq 0 ]]; then local I2C_IDS=($(ddcutil detect --terse | grep "I2C bus" | sed "s/^.*-//")) 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 if [[ -a "$OVER_PROMPT_CFG" ]]; then