9 lines
178 B
Plaintext
9 lines
178 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
if [[ -z $1 ]]; then
|
||
|
echo "No argument provided. Showing everything..." >&2
|
||
|
xrdb -query
|
||
|
fi
|
||
|
|
||
|
xrdb -query | sed -ne 's/.*'"$1"':\s*\(.*\)$/\1/p' | head -n 1
|