10 lines
174 B
Bash
Executable File
10 lines
174 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Check for correct usage
|
|
if [ $# -lt 1 ]; then
|
|
echo "Usage: $0 <config name>"
|
|
exit
|
|
fi
|
|
|
|
OUTPUT_CONFIG_NAME=$1
|
|
kscreen-doctor --json > $OUTPUT_CONFIG_NAME |