11 lines
228 B
Bash
11 lines
228 B
Bash
#!/usr/bin/env bash
|
|
|
|
msgTag="lightdunst"
|
|
|
|
brightnessctl set "$1"
|
|
|
|
light="$(brightnessctl -m | cut -d, -f4)"
|
|
dunstify -a "changeLight" -u low \
|
|
-h string:x-dunst-stack-tag:$msgTag \
|
|
-h int:value:"$light" "Brightness: $light"
|