Added few more patches for dwm

This commit is contained in:
Alexis Jhon Gaspar 2023-10-07 18:01:43 +08:00
parent 112f91f78c
commit f25ed4dca6
2 changed files with 8 additions and 8 deletions

View file

@ -128,7 +128,7 @@ static const int ulineall = 0; /* 1 to show underline on all ta
#define NAMETAG_FORMAT "%s" #define NAMETAG_FORMAT "%s"
#endif // NAMETAG_PREPEND_PATCH #endif // NAMETAG_PREPEND_PATCH
/* The maximum amount of bytes reserved for each tag text. */ /* The maximum amount of bytes reserved for each tag text. */
#define MAX_TAGLEN 32 #define MAX_TAGLEN 64
/* The command to run (via popen). This can be tailored by adding a prompt, passing other command /* The command to run (via popen). This can be tailored by adding a prompt, passing other command
* line arguments or providing name options. Optionally you can use other dmenu like alternatives * line arguments or providing name options. Optionally you can use other dmenu like alternatives
* like rofi -dmenu. */ * like rofi -dmenu. */

View file

@ -65,7 +65,7 @@
* taps into the many layout options that flextile-deluxe offers to produce a window * taps into the many layout options that flextile-deluxe offers to produce a window
* title section in the bar that is representative of what is shown on screen. * title section in the bar that is representative of what is shown on screen.
*/ */
#define BAR_FLEXWINTITLE_PATCH 0 #define BAR_FLEXWINTITLE_PATCH 0
/* This patch adds a context menu for layout switching. /* This patch adds a context menu for layout switching.
* - xmenu needs to be installed. * - xmenu needs to be installed.
@ -526,7 +526,7 @@
/* 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.
*/ */
#define CENTER_TRANSIENT_WINDOWS_BY_PARENT_PATCH 0 #define CENTER_TRANSIENT_WINDOWS_BY_PARENT_PATCH 1
/* This patch provides the ability to assign different weights to clients in their /* This patch provides the ability to assign different weights to clients in their
* respective stack in tiled layout. * respective stack in tiled layout.
@ -644,7 +644,7 @@
/* Allows focusing on clients based on direction (up, down, left, right) instead of client order. /* Allows focusing on clients based on direction (up, down, left, right) instead of client order.
* https://github.com/bakkeby/patches/wiki/focusdir/ * https://github.com/bakkeby/patches/wiki/focusdir/
*/ */
#define FOCUSDIR_PATCH 0 #define FOCUSDIR_PATCH 1
/* When changing tags, closing windows or moving clients out of view then focus will revert to the /* When changing tags, closing windows or moving clients out of view then focus will revert to the
* client window that remains under the mouse cursor rather than the most recently focused window. * client window that remains under the mouse cursor rather than the most recently focused window.
@ -673,7 +673,7 @@
* the urgency bit on the named window. This patch activates the window instead. * the urgency bit on the named window. This patch activates the window instead.
* https://dwm.suckless.org/patches/focusonnetactive/ * https://dwm.suckless.org/patches/focusonnetactive/
*/ */
#define FOCUSONNETACTIVE_PATCH 0 #define FOCUSONNETACTIVE_PATCH 1
/* Send "fake signals" to dwm for handling, using xsetroot. This will not conflict with the /* Send "fake signals" to dwm for handling, using xsetroot. This will not conflict with the
* status bar, which also is managed using xsetroot. * status bar, which also is managed using xsetroot.
@ -821,7 +821,7 @@
* Zoom video conferencing application. * Zoom video conferencing application.
* https://github.com/bakkeby/patches/wiki/netclientliststacking/ * https://github.com/bakkeby/patches/wiki/netclientliststacking/
*/ */
#define NET_CLIENT_LIST_STACKING_PATCH 0 #define NET_CLIENT_LIST_STACKING_PATCH 1
/* Removes the border when there is only one window visible. /* Removes the border when there is only one window visible.
* https://dwm.suckless.org/patches/noborder/ * https://dwm.suckless.org/patches/noborder/
@ -930,7 +930,7 @@
* leftmost tag, and will be reduced to one tag after the operation is complete. * leftmost tag, and will be reduced to one tag after the operation is complete.
* https://dwm.suckless.org/patches/reorganizetags/ * https://dwm.suckless.org/patches/reorganizetags/
*/ */
#define REORGANIZETAGS_PATCH 0 #define REORGANIZETAGS_PATCH 1
/* By default, windows only resize from the bottom right corner. With this /* By default, windows only resize from the bottom right corner. With this
* patch the mouse is warped to the nearest corner and you resize from there. * patch the mouse is warped to the nearest corner and you resize from there.
@ -1363,7 +1363,7 @@
* view (Mod-0) using a keyboard shortcut. * view (Mod-0) using a keyboard shortcut.
* http://dwm.suckless.org/patches/winview/ * http://dwm.suckless.org/patches/winview/
*/ */
#define WINVIEW_PATCH 0 #define WINVIEW_PATCH 1
/* Remember keyboard layout per client. /* Remember keyboard layout per client.
* It is recommended that you configure xkb before using this patch as described in * It is recommended that you configure xkb before using this patch as described in