mirror of
https://github.com/lbonn/rofi
synced 2024-11-15 16:38:00 +00:00
Try to improve coloring of urgent/active rows that are selected.
This commit is contained in:
parent
8cc553ebaf
commit
808eee4b85
1 changed files with 12 additions and 2 deletions
|
@ -147,10 +147,20 @@ void textbox_font ( textbox *tb, TextBoxFontType tbft )
|
||||||
}
|
}
|
||||||
if ( ( tbft & FMOD_MASK ) ) {
|
if ( ( tbft & FMOD_MASK ) ) {
|
||||||
if ( ( tbft & ACTIVE ) ) {
|
if ( ( tbft & ACTIVE ) ) {
|
||||||
tb->color_fg = color_fg_active;
|
if(tbft&HIGHLIGHT) {
|
||||||
|
tb->color_fg = color_hlfg;
|
||||||
|
tb->color_bg = color_fg_active;
|
||||||
|
}else {
|
||||||
|
tb->color_fg = color_fg_active;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if ( ( tbft & URGENT ) ) {
|
else if ( ( tbft & URGENT ) ) {
|
||||||
tb->color_fg = color_fg_urgent;
|
if(tbft&HIGHLIGHT) {
|
||||||
|
tb->color_fg = color_hlfg;
|
||||||
|
tb->color_bg = color_fg_urgent;
|
||||||
|
}else {
|
||||||
|
tb->color_fg = color_fg_urgent;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tb->tbft = tbft;
|
tb->tbft = tbft;
|
||||||
|
|
Loading…
Reference in a new issue