Add new display widget for the bar
This commit is contained in:
@@ -29,6 +29,5 @@ else
|
||||
fi
|
||||
|
||||
sudo asdcontrol "$device" -- "$step" >/dev/null
|
||||
value="$(sudo asdcontrol "$device" | awk -F= '/BRIGHTNESS=/{print $2+0}')"
|
||||
omarchy-osd -i brightness -p "$(( value * 100 / 60000 ))"
|
||||
omarchy-osd -i brightness -p "$(omarchy-brightness-display-apple-get)"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user