mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05:00
[ThemeSelector] Use rasi config file format, not xresources.
This commit is contained in:
parent
8c51b9ec3e
commit
6bf823267e
1 changed files with 4 additions and 2 deletions
|
@ -24,7 +24,7 @@ then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
TMP_CONFIG_FILE=$(${MKTEMP})
|
TMP_CONFIG_FILE=$(${MKTEMP}).rasi
|
||||||
|
|
||||||
##
|
##
|
||||||
# Array with parts to the found themes.
|
# Array with parts to the found themes.
|
||||||
|
@ -103,7 +103,9 @@ function find_themes()
|
||||||
##
|
##
|
||||||
function create_config_copy()
|
function create_config_copy()
|
||||||
{
|
{
|
||||||
${ROFI} -dump-xresources > ${TMP_CONFIG_FILE}
|
${ROFI} -dump-config > ${TMP_CONFIG_FILE}
|
||||||
|
# remove theme entry.
|
||||||
|
sed -i 's/^\s*theme:\s\+".*"\s*;//g' ${TMP_CONFIG_FILE}
|
||||||
}
|
}
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|
Loading…
Reference in a new issue