feat: Remove old eww folder

This commit is contained in:
Fabio Lenherr / DashieTM 2023-10-03 21:30:23 +02:00
parent be38dd733d
commit 1654ce2be0
17 changed files with 2296 additions and 106 deletions

12
scripts/change-brightness Executable file
View 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