Merge branch 'main' of git.snaile.de:snailed/dwm-custom
Build/Publish XBPS / build-and-publish (push) Successful in 8s Details

This commit is contained in:
Luca Bilke 2024-05-18 23:50:59 +02:00
commit fc082e06cc
No known key found for this signature in database
GPG Key ID: C9E851809C1A5BDE
2 changed files with 10 additions and 9 deletions

View File

@ -5,9 +5,9 @@
#define TERM_FLAG_EXEC "-e" #define TERM_FLAG_EXEC "-e"
#define TERM_FLAG_CLASS "-c" #define TERM_FLAG_CLASS "-c"
#define BROWSER "brave-browser" #define BROWSER "firefox"
#define BROWSER_FLAG_INCOG "--incognito" #define BROWSER_FLAG_INCOG "--private-window"
#define BROWSER_FLAG_1 "--enable-blink-features=MiddleClickAutoscroll" #define BROWSER_FLAG_1 "--disable-pinch"
#define STATUSBAR "dwmblocks" #define STATUSBAR "dwmblocks"
@ -141,6 +141,7 @@ static const Rule rules[] = {
RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1) RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1)
RULE(.wintype = WTYPE "SPLASH", .isfloating = 1) RULE(.wintype = WTYPE "SPLASH", .isfloating = 1)
RULE(.role = "pop-up", .isfloating = 1) RULE(.role = "pop-up", .isfloating = 1)
RULE(.class = "Dragon-drop", .isfloating = 1, .iscentered = 1)
RULE(.class = "St", .isfloating = 0) RULE(.class = "St", .isfloating = 0)
RULE(.class = "mpv", .isfloating = 0) RULE(.class = "mpv", .isfloating = 0)
RULE(.class = "Ferdium", .monitor = 1, .tags = 1 << 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 | ShiftMask, XK_F3, spawn, {.v = (const char *[]){NULL}} },
{ MODKEY, XK_F4, spawn, SHCMD("$HOME/.local/libexec/dwm/togcompositor") }, { MODKEY, XK_F4, spawn, SHCMD("$HOME/.local/libexec/dwm/togcompositor") },
// { MODKEY | ShiftMask, XK_F4, spawn, {.v = (const char *[]){NULL}} }, // { 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 | ShiftMask, XK_F5, spawn, {.v = (const char *[]){NULL}} },
// { MODKEY, XK_F6, spawn, {.v = (const char *[]){NULL}} }, // { MODKEY, XK_F6, spawn, {.v = (const char *[]){NULL}} },
// { MODKEY | ShiftMask, XK_F6, spawn, {.v = (const char *[]){NULL}} }, // { MODKEY | ShiftMask, XK_F6, spawn, {.v = (const char *[]){NULL}} },

View File

@ -466,7 +466,7 @@
* This patch takes precedence over ATTACHBELOW_PATCH. * This patch takes precedence over ATTACHBELOW_PATCH.
* https://dwm.suckless.org/patches/attachaside/ * 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 adds new clients below the selected client.
* This patch takes precedence over ATTACHBOTTOM_PATCH. * This patch takes precedence over ATTACHBOTTOM_PATCH.
@ -477,7 +477,7 @@
/* This patch adds new clients at the bottom of the stack. /* This patch adds new clients at the bottom of the stack.
* https://dwm.suckless.org/patches/attachbottom/ * 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 /* 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 * "~/.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 * 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. * 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 /* 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. * 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 * 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 /* Minor patch that lets you use the same keyboard shortcut to toggle to the previous tag if the
* designated tag is already active. * 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://www.reddit.com/r/suckless/comments/ik27vd/key_toggle_between_next_and_previous_tag_dwm/
* https://github.com/bakkeby/patches/wiki/toggletag * 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 /* Lets you transfer the currently focused client between the master and stack area
* while increasing or decreasing the master area (nmaster) accordingly. * while increasing or decreasing the master area (nmaster) accordingly.