mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-06 12:39:35 +02:00
Simpler
This commit is contained in:
@@ -53,8 +53,6 @@ elif [[ $step == "5%-" ]]; then
|
||||
step="$target%"
|
||||
fi
|
||||
|
||||
# Set the actual brightness of the display device.
|
||||
# Set brightness of the display device.
|
||||
brightnessctl -d "$device" set "$step" >/dev/null
|
||||
|
||||
# Use the OSD to display the new brightness setting.
|
||||
omarchy-osd -i brightness -p "$(brightnessctl -d "$device" -m | cut -d',' -f4 | tr -d '%')"
|
||||
|
||||
Reference in New Issue
Block a user