rework sway

This commit is contained in:
Marco Thomas
2022-06-27 17:15:17 +02:00
parent ef9a7cd971
commit c1b48254e0
10 changed files with 476 additions and 92 deletions

View File

@@ -67,7 +67,7 @@ ocr() {
ocrmypdf -l deu+eng+jpn --output-type pdf $1 OCR_$1
}
conservationmode() {
conservation() {
location='/sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode'
if [ -z $1 ]; then
cat $location
@@ -78,7 +78,7 @@ conservationmode() {
fi
}
powermode() {
power() {
location='/sys/firmware/acpi/platform_profile'
if [ -z $1 ]; then
echo "Current:" $(cat $location)