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