inital commit

This commit is contained in:
2020-07-04 14:23:27 +02:00
commit 46d9d9eb4c
251 changed files with 15044 additions and 0 deletions

8
.local/bin/tools/bright Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
case $1 in
"set") printf %0.f $( echo "scale=0; $2 * 9.37" | bc -l ) > /sys/class/backlight/intel_backlight/brightness;;
"add") current=$( </sys/class/backlight/intel_backlight/brightness )
new=$( printf %.0f $(echo "$current + $2 * 9.37" | bc -l ) )
[ $new -gt 936 ] && bright set 937 || ( [ $new -lt 0 ] && bright set 0 || bright set "$(( new + 1 ))" ) ;;
"del") bright add "-$2";;
esac