From: Armaan Bhojwani Date: Fri, 29 Jan 2021 03:09:23 +0000 (-0500) Subject: Brightness-set: Add script. Sets backlight level X-Git-Tag: v0.0.1~50 X-Git-Url: https://git.armaanb.net/?p=bin.git;a=commitdiff_plain;h=2249404cb64e7557db67bdafaffb1deb07f39403 Brightness-set: Add script. Sets backlight level Sets backlight brightness and sends notification. Depends: brightnessctl --- diff --git a/brightness-set b/brightness-set new file mode 100755 index 0000000..da07a7a --- /dev/null +++ b/brightness-set @@ -0,0 +1,5 @@ +#!/usr/bin/env sh +# Show a notification and change screen brightness + +brightnessctl set ${1} +notify-send "Brightness" "$(brightnessctl | grep % | tail -c +22)" -t 1000