pointfichiers/bar/waybar/scripts/powerprofile.sh
GaspardCulis 234db0eb0d Enhanced waybar
Switched back from tlp to asusd
2023-10-19 13:32:23 +02:00

3 lines
130 B
Bash
Executable file

#!/bin/bash
profile=$(asusctl profile -p | sed s:'Active profile is '::)
echo "{\"text\": \"$profile\", \"class\": \"$profile\"}"