feat: Remove old eww folder
This commit is contained in:
parent
be38dd733d
commit
1654ce2be0
17 changed files with 2296 additions and 106 deletions
12
scripts/change-brightness
Executable file
12
scripts/change-brightness
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#! /bin/bash
|
||||
|
||||
set_brightness() {
|
||||
brightnessctl set "$1"
|
||||
CURRENT=$(brightnessctl -m -d intel_backlight | awk -F, '{print substr($4, 0, length($4)-1)}')
|
||||
dunstify -a "changeBrightness" -r 3 -u low -i brightness-high -h int:value:"$CURRENT" "Brightness: ${CURRENT}%"
|
||||
}
|
||||
|
||||
if [ "$1" == "brightness" ]; then
|
||||
set_brightness "$2"
|
||||
fi
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue