fixed parameter ingest on bright and added more info to distro script
This commit is contained in:
1 parent
7153462b2a
commit
89263c87ed
2 files changed
+5
-4
No files matched your search
@@ -3,9 +3,10 @@
|
||||
if [ ! -z "$1" ]
|
||||
then
|
||||
screens="`xrandr | grep ' connected' | awk '{print $1}'`"
|
||||
percentage=`echo "scale=2;" "$1/100" | bc -l`
|
||||
for s in $screens; do
|
||||
xrandr --output "$s" --brightness "0.7"
|
||||
echo xrandr --output "$s" --brightness "0.7"
|
||||
xrandr --output "$s" --brightness "0$percentage"
|
||||
echo xrandr --output "$s" --brightness "0$percentage"
|
||||
done
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user