12 lines
326 B
Bash
Executable File
12 lines
326 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# This script sends a quick notification through dunst, informing the user about the backlight of their screen
|
|
|
|
brightness=$(brightnessctl -m | awk -F, '{print $4}')
|
|
|
|
dunstify -u low \
|
|
-a Backlight \
|
|
-r 88 \
|
|
-i ~/.icons/candy-icons/apps/scalable/lightbeat.svg \
|
|
"Screen brightness is $brightness"
|