1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

Filter out i3bar

This commit is contained in:
QC 2013-02-16 18:16:58 +01:00
parent f640f18866
commit 8138c9bf07

View file

@ -920,6 +920,7 @@ void run_switcher(int mode, int fmode)
{ {
if ((c = window_client(w))) if ((c = window_client(w)))
{ {
if(config_i3_mode && strncasecmp(c->title, "i3bar", 5) == 0) continue;
// final line format // final line format
unsigned long wmdesktop; char desktop[5]; desktop[0] = 0; unsigned long wmdesktop; char desktop[5]; desktop[0] = 0;
char *line = allocate(strlen(c->title) + strlen(c->class) + classfield + 50); char *line = allocate(strlen(c->title) + strlen(c->class) + classfield + 50);