Update old-theme-convert test

This commit is contained in:
Dave Davenport 2017-05-14 19:43:44 +02:00
parent e4c935c764
commit 3fe42c3f79
2 changed files with 22 additions and 21 deletions

View File

@ -1,31 +1,31 @@
* {
foreground: #FFDBDFBC;
selected-normal-foreground: #FF02143F;
foreground: #FF002B36;
selected-normal-foreground: @lightbg;
normal-foreground: @foreground;
red: #FFDC322F;
alternate-normal-background: #3AFFFFFF;
alternate-normal-background: @lightbg;
blue: #FF268BD2;
selected-urgent-foreground: #FF02143F;
urgent-foreground: #FFFF817F;
alternate-urgent-background: #3AFFFFFF;
active-foreground: #FF6AA4FF;
selected-urgent-foreground: @background;
urgent-foreground: @red;
alternate-urgent-background: @lightbg;
active-foreground: @blue;
lightbg: #FFEEE8D5;
selected-active-foreground: #FF02143F;
selected-active-foreground: @background;
alternate-normal-foreground: @foreground;
alternate-active-background: #3AFFFFFF;
bordercolor: #FFDBDFBC;
background: #EE27201A;
normal-background: #00000000;
alternate-active-background: @lightbg;
bordercolor: @foreground;
background: #FFFDF6E3;
normal-background: @background;
lightfg: #FF586875;
selected-normal-background: #FFDBDFBC;
separatorcolor: #FFDBDFBC;
selected-normal-background: @lightfg;
separatorcolor: @foreground;
spacing: 2;
urgent-background: #00000000;
alternate-urgent-foreground: @urgent-foreground;
selected-urgent-background: #FFFF817F;
alternate-active-foreground: @active-foreground;
selected-active-background: #FF6AA4FF;
active-background: #00000000;
urgent-background: @background;
alternate-urgent-foreground: @red;
selected-urgent-background: @red;
alternate-active-foreground: @blue;
selected-active-background: @blue;
active-background: @background;
}
#window {
border: 1;

View File

@ -2,11 +2,12 @@
TOP_DIR=$1
xrdb -retain -load ${TOP_DIR}/doc/old-theme-convert-input.theme
rofi -config ${TOP_DIR}/doc/old-theme-convert-input.theme -dump-theme > temp.txt
if ! diff temp.txt ${TOP_DIR}/doc/old-theme-convert-output.rasi > /dev/null
then
echo "Dump default theme does not match."
echo "Convert default theme failed"
diff temp.txt ${TOP_DIR}/doc/old-theme-convert-output.rasi
exit 1;
fi