This commit is contained in:
sawebb19 2022-12-28 16:44:03 -05:00
commit 6e5095f3cf
35 changed files with 453 additions and 0 deletions

12
dwm/bright.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
case $BLOCK_BUTTON in
1) /home/swebb/Scripts/dwm/brightMenu.sh;;
esac
light="1%"
if [ $(brightnessctl -d intel_backlight get) -ne 1 ]; then
light="$(awk "BEGIN { print $(brightnessctl -d intel_backlight get)/1200}")%"
fi
echo "^c#FED06E^  ${light} "