From ae2ce1b529e4d0e6305afd64ea962d9bcafd1da3 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Sat, 13 Jan 2024 15:54:01 +0100 Subject: [PATCH 1/3] make brave popout float --- config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/config.h b/config.h index 5a344e9..5c68af3 100644 --- a/config.h +++ b/config.h @@ -67,6 +67,7 @@ static const Rule rules[] = { { "Xournalpp", "xournalpp", NULL, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1 }, { "Zathura", "org.pwmt.zathura", NULL, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1 }, { NULL, "st", NULL, 0, 0, 0, 1, 0, 0, 0, 0, 0, -1 }, + { "Brave-browser", NULL, "Bitwarden", 0, 0, 1, 0, 0, .5, .5, .4, .8, -1 }, { "Qalculate-gtk", NULL, NULL, 'q', 0, 1, 0, 0, .5, .5, 722, 512, -1 }, { NULL, "sphelp", NULL, 'n', 0, 1, 0, 0, .5, .5, .4, .8, -1 }, { NULL, "spterm", NULL, 't', 0, 1, 1, 0, .5, .5, .8, .8, -1 }, From 44ba90f6e1b54d6da2ad9151f2e28c682b5ad5a1 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Sat, 13 Jan 2024 16:08:08 +0100 Subject: [PATCH 2/3] loosen bitwarden matching --- config.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/config.h b/config.h index 5c68af3..1b80936 100644 --- a/config.h +++ b/config.h @@ -62,20 +62,20 @@ static const Rule rules[] = { * WM_NAME(STRING) = title * If X, Y, W or H are between 0 and 1 (inclusive), their values interpreted as percentages of the current monitor resolution. * If X or Y are negative, they are subtracted from the current monitor resolution and then that value is interpreted. - class instance title scratch key tags mask isfloating isterminal noswallow x, y, w, h borderpx */ - { NULL, NULL, "Event Tester", 0, 0, 0, 0, 1, 0, 0, 0, 0, -1 }, - { "Xournalpp", "xournalpp", NULL, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1 }, - { "Zathura", "org.pwmt.zathura", NULL, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1 }, - { NULL, "st", NULL, 0, 0, 0, 1, 0, 0, 0, 0, 0, -1 }, - { "Brave-browser", NULL, "Bitwarden", 0, 0, 1, 0, 0, .5, .5, .4, .8, -1 }, - { "Qalculate-gtk", NULL, NULL, 'q', 0, 1, 0, 0, .5, .5, 722, 512, -1 }, - { NULL, "sphelp", NULL, 'n', 0, 1, 0, 0, .5, .5, .4, .8, -1 }, - { NULL, "spterm", NULL, 't', 0, 1, 1, 0, .5, .5, .8, .8, -1 }, - { NULL, "splf", NULL, 'l', 0, 1, 0, 0, .5, .5, .8, .8, -1 }, - { NULL, "sphtop", NULL, 'h', 0, 1, 0, 0, .5, .5, .8, .8, -1 }, - { NULL, "spmix", NULL, 'm', 0, 1, 0, 0, -4, -4, 900, 600, -1 }, - { NULL, "spnmtui", NULL, 'i', 0, 1, 0, 0, -4, -4, 800, 800, -1 }, - { NULL, "spwiki", NULL, 'v', 0, 1, 0, 0, .5, .5, .8, .8, -1 }, + class instance title scratch key tags mask isfloating isterminal noswallow x, y, w, h borderpx */ + { NULL, NULL, "Event Tester", 0, 0, 0, 0, 1, 0, 0, 0, 0, -1 }, + { "Xournalpp", "xournalpp", NULL, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1 }, + { "Zathura", "org.pwmt.zathura", NULL, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1 }, + { NULL, "st", NULL, 0, 0, 0, 1, 0, 0, 0, 0, 0, -1 }, + { NULL, NULL, "Bitwarden", 0, 0, 1, 0, 0, .5, .5, .4, .8, -1 }, + { "Qalculate-gtk", NULL, NULL, 'q', 0, 1, 0, 0, .5, .5, 722, 512, -1 }, + { NULL, "sphelp", NULL, 'n', 0, 1, 0, 0, .5, .5, .4, .8, -1 }, + { NULL, "spterm", NULL, 't', 0, 1, 1, 0, .5, .5, .8, .8, -1 }, + { NULL, "splf", NULL, 'l', 0, 1, 0, 0, .5, .5, .8, .8, -1 }, + { NULL, "sphtop", NULL, 'h', 0, 1, 0, 0, .5, .5, .8, .8, -1 }, + { NULL, "spmix", NULL, 'm', 0, 1, 0, 0, -4, -4, 900, 600, -1 }, + { NULL, "spnmtui", NULL, 'i', 0, 1, 0, 0, -4, -4, 800, 800, -1 }, + { NULL, "spwiki", NULL, 'v', 0, 1, 0, 0, .5, .5, .8, .8, -1 }, }; /* layout(s) */ From df8932e200d67e3961c1f8b10d995b5cc508c767 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Sat, 13 Jan 2024 16:14:55 +0100 Subject: [PATCH 3/3] revert last commit --- config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.h b/config.h index 1b80936..5838dca 100644 --- a/config.h +++ b/config.h @@ -67,7 +67,7 @@ static const Rule rules[] = { { "Xournalpp", "xournalpp", NULL, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1 }, { "Zathura", "org.pwmt.zathura", NULL, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1 }, { NULL, "st", NULL, 0, 0, 0, 1, 0, 0, 0, 0, 0, -1 }, - { NULL, NULL, "Bitwarden", 0, 0, 1, 0, 0, .5, .5, .4, .8, -1 }, + { "Brave-browser", NULL, "Bitwarden", 0, 0, 1, 0, 0, .5, .5, .4, .8, -1 }, { "Qalculate-gtk", NULL, NULL, 'q', 0, 1, 0, 0, .5, .5, 722, 512, -1 }, { NULL, "sphelp", NULL, 'n', 0, 1, 0, 0, .5, .5, .4, .8, -1 }, { NULL, "spterm", NULL, 't', 0, 1, 1, 0, .5, .5, .8, .8, -1 },