Fix theme selector removing of prev entry. Small improvement DarkBlue.

This commit is contained in:
Dave Davenport
2017-01-23 08:35:03 +01:00
parent 46db427735
commit 2060ba8fd8
2 changed files with 6 additions and 1 deletions

View File

@@ -169,7 +169,7 @@ function set_theme()
fi
if [ -f "${CDIR}/config" ]
then
${SED} -i "/rofi\.theme: \".*\.rasi\"$/d" "${CDIR}/config"
${SED} -i "/rofi\.theme: .*\.rasi$/d" "${CDIR}/config"
fi
echo "rofi.theme: ${1}" >> "${CDIR}/config"