feat: use different .dtfiles config setup

This commit is contained in:
2023-10-11 15:52:30 +02:00
parent 6b431704de
commit b755d66571
175 changed files with 268 additions and 3596 deletions

View File

@@ -0,0 +1,25 @@
#!/bin/bash
CURRENT=$(powerprofilesctl get)
LOW="🐢"
BALANCED="☯️"
HIGH="🐇"
if [ "$CURRENT" = 'power-saver' ]; then
if [ "$1" = "--toggle" ]; then
powerprofilesctl set balanced
fi
echo $LOW
elif [ "$CURRENT" = 'balanced' ]; then
if [ "$1" = "--toggle" ]; then
powerprofilesctl set performance
fi
echo $BALANCED
elif [ "$CURRENT" = 'performance' ]; then
if [ "$1" = "--toggle" ]; then
powerprofilesctl set power-saver
fi
echo $HIGH
fi