added chrome and power.sh to yoga2 branch
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
exec google-chrome-beta --disk-cache-dir="/tmp/ewpt3ch-cache"
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
if `acpi -a | grep -q on`
|
||||||
|
then
|
||||||
|
echo "Â"
|
||||||
|
else
|
||||||
|
bat=`acpi -b | awk '{print $4}'`
|
||||||
|
bat="${bat%%%*}" #remove percent
|
||||||
|
if [[ $bat -gt 75 ]]
|
||||||
|
then
|
||||||
|
echo "ó"
|
||||||
|
elif [[ $bat -gt 25 ]]
|
||||||
|
then
|
||||||
|
if [[ $bat -gt 45 ]]
|
||||||
|
then
|
||||||
|
echo "ò"
|
||||||
|
else
|
||||||
|
echo "ò" $bat"%"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "ñ" $bat"%"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user