mirror of
https://github.com/davatorium/rofi.git
synced 2025-07-31 21:59:25 -04:00
Update old-theme-convert test
This commit is contained in:
parent
e4c935c764
commit
3fe42c3f79
2 changed files with 22 additions and 21 deletions
|
@ -1,31 +1,31 @@
|
||||||
* {
|
* {
|
||||||
foreground: #FFDBDFBC;
|
foreground: #FF002B36;
|
||||||
selected-normal-foreground: #FF02143F;
|
selected-normal-foreground: @lightbg;
|
||||||
normal-foreground: @foreground;
|
normal-foreground: @foreground;
|
||||||
red: #FFDC322F;
|
red: #FFDC322F;
|
||||||
alternate-normal-background: #3AFFFFFF;
|
alternate-normal-background: @lightbg;
|
||||||
blue: #FF268BD2;
|
blue: #FF268BD2;
|
||||||
selected-urgent-foreground: #FF02143F;
|
selected-urgent-foreground: @background;
|
||||||
urgent-foreground: #FFFF817F;
|
urgent-foreground: @red;
|
||||||
alternate-urgent-background: #3AFFFFFF;
|
alternate-urgent-background: @lightbg;
|
||||||
active-foreground: #FF6AA4FF;
|
active-foreground: @blue;
|
||||||
lightbg: #FFEEE8D5;
|
lightbg: #FFEEE8D5;
|
||||||
selected-active-foreground: #FF02143F;
|
selected-active-foreground: @background;
|
||||||
alternate-normal-foreground: @foreground;
|
alternate-normal-foreground: @foreground;
|
||||||
alternate-active-background: #3AFFFFFF;
|
alternate-active-background: @lightbg;
|
||||||
bordercolor: #FFDBDFBC;
|
bordercolor: @foreground;
|
||||||
background: #EE27201A;
|
background: #FFFDF6E3;
|
||||||
normal-background: #00000000;
|
normal-background: @background;
|
||||||
lightfg: #FF586875;
|
lightfg: #FF586875;
|
||||||
selected-normal-background: #FFDBDFBC;
|
selected-normal-background: @lightfg;
|
||||||
separatorcolor: #FFDBDFBC;
|
separatorcolor: @foreground;
|
||||||
spacing: 2;
|
spacing: 2;
|
||||||
urgent-background: #00000000;
|
urgent-background: @background;
|
||||||
alternate-urgent-foreground: @urgent-foreground;
|
alternate-urgent-foreground: @red;
|
||||||
selected-urgent-background: #FFFF817F;
|
selected-urgent-background: @red;
|
||||||
alternate-active-foreground: @active-foreground;
|
alternate-active-foreground: @blue;
|
||||||
selected-active-background: #FF6AA4FF;
|
selected-active-background: @blue;
|
||||||
active-background: #00000000;
|
active-background: @background;
|
||||||
}
|
}
|
||||||
#window {
|
#window {
|
||||||
border: 1;
|
border: 1;
|
||||||
|
|
|
@ -2,11 +2,12 @@
|
||||||
|
|
||||||
TOP_DIR=$1
|
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
|
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
|
if ! diff temp.txt ${TOP_DIR}/doc/old-theme-convert-output.rasi > /dev/null
|
||||||
then
|
then
|
||||||
echo "Dump default theme does not match."
|
echo "Convert default theme failed"
|
||||||
diff temp.txt ${TOP_DIR}/doc/old-theme-convert-output.rasi
|
diff temp.txt ${TOP_DIR}/doc/old-theme-convert-output.rasi
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue