mirror of
https://github.com/davatorium/rofi.git
synced 2025-07-31 21:59:25 -04:00
Add active/urgent color.
This commit is contained in:
parent
957ffe5fcf
commit
f2c4aff37c
5 changed files with 27 additions and 20 deletions
|
@ -523,10 +523,10 @@ static const char *mgrv ( unsigned int selected_line, void *sw, G_GNUC_UNUSED in
|
|||
{
|
||||
SwitcherModePrivateData *rmpd = ( (Switcher *) sw )->private_data;
|
||||
if ( window_client ( display, rmpd->ids->array[selected_line] )->demands ) {
|
||||
*state |= ITALIC;
|
||||
*state |= URGENT;
|
||||
}
|
||||
if ( window_client ( display, rmpd->ids->array[selected_line] )->active ) {
|
||||
*state |= BOLD;
|
||||
*state |= ACTIVE;
|
||||
}
|
||||
return rmpd->cmd_list[selected_line];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue