Files
KDE-Display-Profiles/apply.sh
Dawson Matthews 84d746859c initial commit
2025-12-02 09:21:02 -07:00

15 lines
269 B
Bash
Executable File

#!/bin/bash
# Make sure a config file was provided
if [ $# -lt 1 ]; then
echo "Usage: $0 <config file>"
exit
fi
# Attempt to parse the config file
INPUT_FILE=$1
echo "Parsing config info from $INPUT_FILE..."
TEST=$(jq '.outputs[]' $INPUT_FILE)
echo $TEST[0]