mirror of
https://github.com/lbonn/rofi
synced 2024-11-27 06:10:30 +00:00
14 lines
283 B
Bash
Executable file
14 lines
283 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
TOP_DIR=$1
|
|
|
|
xrdb -retain -load ${TOP_DIR}/doc/test_xr.txt
|
|
rofi -config ${TOP_DIR}/doc/test_xr.txt -dump-xresources > temp.txt
|
|
|
|
if ! diff temp.txt ${TOP_DIR}/doc/test_xr.txt > /dev/null
|
|
then
|
|
echo "Dump xresources does not match."
|
|
exit 1;
|
|
fi
|
|
|
|
exit ${RETV}
|