Merge branch 'main' of git.snaile.de:luca/dwm-custom
ci/woodpecker/tag/woodpecker Pipeline failed Details

This commit is contained in:
Luca Bilke 2024-02-16 22:42:33 +01:00
commit 189ce4d6ac
No known key found for this signature in database
GPG Key ID: AD6630D0A1E650AC
2 changed files with 12 additions and 13 deletions

View File

@ -136,7 +136,7 @@ static const char *layoutmenu_cmd = "xmenulayout";
// static const char *layoutdmenu = "$HOME/.local/libexec/dwm/dmenulayout"; // TODO: Patch layoutmenu to accept shell commands
static const char *const autostart[] = {
"sh", "-c", "pidof -x autorun || exec $HOME/.local/libexec/dwm/autorun", NULL,
"sh", "-c", "killall -gw autorun; exec $HOME/.local/libexec/dwm/autorun", NULL,
NULL
};
@ -167,15 +167,14 @@ static const Rule rules[] = {
RULE(.wintype = WTYPE "SPLASH", .isfloating = 1)
RULE(.role = "pop-up", .isfloating = 1)
RULE(.class = "St", .isfloating = 0)
RULE(.class = "Ferdium", .monitor = 1, .tags = 1 << 1)
RULE(.class = "Thunderbird", .monitor = 1, .tags = 1 << 2)
RULE(.instance = "gcr-prompter", .floatpos = "50% 50% 308W 214H")
RULE(.instance = "sphelp", .scratchkey = 'h', .isfloating = 1, .floatpos = "50% 50% 40% 80%")
RULE(.instance = "spcalc", .scratchkey = 'c', .isfloating = 1, .floatpos = "50% 50% 40% 80%")
RULE(.instance = "spterm", .scratchkey = 't', .isfloating = 1, .floatpos = "50% 50% 80% 80%")
RULE(.instance = "spfile", .scratchkey = 'f', .isfloating = 1, .floatpos = "50% 50% 80% 80%")
RULE(.instance = "spproc", .scratchkey = 'p', .isfloating = 1, .floatpos = "50% 50% 80% 80%")
RULE(.instance = "spwiki", .scratchkey = 'w', .isfloating = 1, .floatpos = "50% 50% 80% 80%")
RULE(.class = "Ferdium", .monitor = 1, .tags = 1 << 0)
RULE(.class = "Thunderbird", .monitor = 1, .tags = 1 << 1)
RULE(.instance = "sphelp", .scratchkey = 'h', .isfloating = 1, .iscentered = true, .floatpos = "50% 50% 40% 80%")
RULE(.instance = "spcalc", .scratchkey = 'c', .isfloating = 1, .iscentered = true, .floatpos = "50% 50% 40% 80%")
RULE(.instance = "spterm", .scratchkey = 't', .isfloating = 1, .iscentered = true, .floatpos = "50% 50% 80% 80%")
RULE(.instance = "spfile", .scratchkey = 'f', .isfloating = 1, .iscentered = true, .floatpos = "50% 50% 80% 80%")
RULE(.instance = "spproc", .scratchkey = 'p', .isfloating = 1, .iscentered = true, .floatpos = "50% 50% 80% 80%")
RULE(.instance = "spwiki", .scratchkey = 'w', .isfloating = 1, .iscentered = true, .floatpos = "50% 50% 80% 80%")
RULE(.instance = "spvolm", .scratchkey = 'v', .isfloating = 1, .floatpos = "100% 100% 900W 600H")
RULE(.instance = "spinet", .scratchkey = 'i', .isfloating = 1, .floatpos = "100% 100% 800W 800H")
};
@ -349,7 +348,7 @@ static const Key keys[] = {
{ MODKEY | ShiftMask, XK_j, pushstack, {.i = INC(+1)} },
{ MODKEY, XK_k, focusstack, {.i = INC(-1)} },
{ MODKEY | ShiftMask, XK_k, pushstack, {.i = INC(-1)} },
{ MODKEY, XK_x, togglescratch, {.v = spcalc }},
// { MODKEY, XK_x, spawn, {.v = (const char *[]){NULL}} },
// { MODKEY | ShiftMask, XK_x, spawn, {.v = (const char *[]){NULL}} },
{ MODKEY, XK_b, togglescratch, {.v = spinet} },
// { MODKEY | ShiftMask, XK_b, spawn, {.v = (const char *[]){NULL}} },
@ -357,7 +356,7 @@ static const Key keys[] = {
// { MODKEY | ShiftMask, XK_m, spawn, {.v = (const char *[]){NULL}} },
{ MODKEY, XK_w, togglescratch, {.v = spwiki} },
// { MODKEY | ShiftMask, XK_w, spawn, {.v = (const char *[]){NULL}} },
// { MODKEY, XK_v, spawn, {.v = (const char *[]){NULL}} },
{ MODKEY, XK_v, togglescratch, {.v = spcalc }},
// { MODKEY | ShiftMask, XK_v, spawn, {.v = (const char *[]){NULL}} },
// { MODKEY, XK_z, spawn, {.v = (const char *[]){NULL}} },
// { MODKEY | ShiftMask, XK_z, spawn, {.v = (const char *[]){NULL}} },

View File

@ -509,7 +509,7 @@
* This patch takes precedence over centeredwindowname, alwayscenter and fancybar patches.
* https://dwm.suckless.org/patches/center/
*/
#define CENTER_PATCH 0
#define CENTER_PATCH 1
/* A transient window is one that is meant to be short lived and is usually raised by a
* parent window. Such windows are typically dialog boxes and the like.