10 lines
233 B
Bash
Executable file
10 lines
233 B
Bash
Executable file
#!/bin/bash
|
|
currntpwr=$(powerprofilesctl get)
|
|
if [ "${currntpwr}" = "performance" ]; then
|
|
pwr=""
|
|
elif [ "${currntpwr}" = "balanced" ]; then
|
|
pwr=""
|
|
elif [ "${currntpwr}" = "power-saver" ]; then
|
|
pwr=""
|
|
fi
|
|
echo "$pwr"
|