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