pointfichiers/bar/waybar/scripts/powerprofile.sh

4 lines
130 B
Bash
Raw Normal View History

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