cant compare floats

This commit is contained in:
cronekorkn 2023-01-23 12:57:19 +01:00
parent edf7ab4236
commit 7cb2bdb6a1
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw

View file

@ -9,7 +9,7 @@ brew upgrade --cask --greedy
sudo softwareupdate -ia --verbose
if test "$(defaults read com.apple.dock autohide-time-modifier)" -ne 0.16
if test "$(defaults read com.apple.dock autohide-time-modifier)" == 0.16
then
defaults write com.apple.dock autohide-time-modifier -float 0.16
RESTART_DOCK=TRUE