Optimized i3 setup: clipboard manager, scratchpad terminal, workspace assignments, media keys with dunstify, thunar, autotiling, system info notification
This commit is contained in:
14
files/configs/misc-scripts/brightness-notify
Normal file
14
files/configs/misc-scripts/brightness-notify
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
# Brightness control with dunst notification
|
||||
|
||||
case "$1" in
|
||||
up)
|
||||
brightnessctl set +5%
|
||||
;;
|
||||
down)
|
||||
brightnessctl set 5%-
|
||||
;;
|
||||
esac
|
||||
|
||||
BRIGHTNESS=$(brightnessctl -m | awk -F, '{print $4}' | tr -d '%')
|
||||
dunstify -a "brightness" -u low -r 9998 -h int:value:${BRIGHTNESS} " ${BRIGHTNESS}%"
|
||||
Reference in New Issue
Block a user