diff --git a/config.h b/config.h index 91d69b6..58a9790 100644 --- a/config.h +++ b/config.h @@ -5,9 +5,9 @@ #define TERM_FLAG_EXEC "-e" #define TERM_FLAG_CLASS "-c" -#define BROWSER "brave-browser" -#define BROWSER_FLAG_INCOG "--incognito" -#define BROWSER_FLAG_1 "--enable-blink-features=MiddleClickAutoscroll" +#define BROWSER "firefox" +#define BROWSER_FLAG_INCOG "--private-window" +#define BROWSER_FLAG_1 "--disable-pinch" #define STATUSBAR "dwmblocks" @@ -141,6 +141,7 @@ static const Rule rules[] = { RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1) RULE(.wintype = WTYPE "SPLASH", .isfloating = 1) RULE(.role = "pop-up", .isfloating = 1) + RULE(.class = "Dragon-drop", .isfloating = 1, .iscentered = 1) RULE(.class = "St", .isfloating = 0) RULE(.class = "mpv", .isfloating = 0) RULE(.class = "Ferdium", .monitor = 1, .tags = 1 << 0) @@ -206,7 +207,7 @@ static const Key keys[] = { // { MODKEY | ShiftMask, XK_F3, spawn, {.v = (const char *[]){NULL}} }, { MODKEY, XK_F4, spawn, SHCMD("$HOME/.local/libexec/dwm/togcompositor") }, // { MODKEY | ShiftMask, XK_F4, spawn, {.v = (const char *[]){NULL}} }, - // { MODKEY, XK_F5, spawn, {.v = (const char *[]){NULL}} }, + { MODKEY, XK_F5, spawn, {.v = (const char *[]){"clipmenu", NULL}} }, // { MODKEY | ShiftMask, XK_F5, spawn, {.v = (const char *[]){NULL}} }, // { MODKEY, XK_F6, spawn, {.v = (const char *[]){NULL}} }, // { MODKEY | ShiftMask, XK_F6, spawn, {.v = (const char *[]){NULL}} }, diff --git a/patches.h b/patches.h index fab496d..4b63e4d 100644 --- a/patches.h +++ b/patches.h @@ -466,7 +466,7 @@ * This patch takes precedence over ATTACHBELOW_PATCH. * https://dwm.suckless.org/patches/attachaside/ */ -#define ATTACHASIDE_PATCH 1 +#define ATTACHASIDE_PATCH 0 /* This patch adds new clients below the selected client. * This patch takes precedence over ATTACHBOTTOM_PATCH. @@ -477,7 +477,7 @@ /* This patch adds new clients at the bottom of the stack. * https://dwm.suckless.org/patches/attachbottom/ */ -#define ATTACHBOTTOM_PATCH 0 +#define ATTACHBOTTOM_PATCH 1 /* This patch will make dwm run "~/.local/share/dwm/autostart_blocking.sh" and * "~/.local/share/dwm/autostart.sh &" before entering the handler loop. One or @@ -521,7 +521,7 @@ * adding wintype as a client rule filter, hence this no longer works out of the box. This * patch restores previous behaviour with the center patch. */ -#define CENTER_TRANSIENT_WINDOWS_PATCH 1 +#define CENTER_TRANSIENT_WINDOWS_PATCH 0 /* As above, except that the transient window is centered within the position of the parent * window, rather than at the center of the screen. This takes precedence over the above patch. @@ -1304,7 +1304,7 @@ * https://github.com/bakkeby/patches/wiki/togglelayout */ -#define TOGGLELAYOUT_PATCH 1 +#define TOGGLELAYOUT_PATCH 0 /* Minor patch that lets you use the same keyboard shortcut to toggle to the previous tag if the * designated tag is already active. @@ -1317,7 +1317,7 @@ * https://www.reddit.com/r/suckless/comments/ik27vd/key_toggle_between_next_and_previous_tag_dwm/ * https://github.com/bakkeby/patches/wiki/toggletag */ -#define TOGGLETAG_PATCH 1 +#define TOGGLETAG_PATCH 0 /* Lets you transfer the currently focused client between the master and stack area * while increasing or decreasing the master area (nmaster) accordingly.