Added new patches, as well as fixing swallow

This commit is contained in:
Alexis Jhon Gaspar 2023-10-01 23:23:13 +08:00
parent a54c50201a
commit e0dea795d9
2 changed files with 8 additions and 7 deletions

View file

@ -505,6 +505,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(.class = "Gimp", .tags = 1 << 4) RULE(.class = "Gimp", .tags = 1 << 4)
RULE(.class = "St", .isterminal = 1, .noswallow = 0)
RULE(.class = "Firefox", .tags = 1 << 7) RULE(.class = "Firefox", .tags = 1 << 7)
#if RENAMED_SCRATCHPADS_PATCH #if RENAMED_SCRATCHPADS_PATCH
RULE(.instance = "spterm", .scratchkey = 's', .isfloating = 1) RULE(.instance = "spterm", .scratchkey = 's', .isfloating = 1)

View file

@ -544,7 +544,7 @@
* hold MOD and then press and hold 1 and 3 together. * hold MOD and then press and hold 1 and 3 together.
* https://dwm.suckless.org/patches/combo/ * https://dwm.suckless.org/patches/combo/
*/ */
#define COMBO_PATCH 0 #define COMBO_PATCH 1
/* Allow dwm to execute commands from autostart array in your config.h file. When dwm exits /* Allow dwm to execute commands from autostart array in your config.h file. When dwm exits
* then all processes from autostart array will be killed. * then all processes from autostart array will be killed.
@ -604,7 +604,7 @@
* to other WMs fill command. * to other WMs fill command.
* https://dwm.suckless.org/patches/exresize/ * https://dwm.suckless.org/patches/exresize/
*/ */
#define EXRESIZE_PATCH 0 #define EXRESIZE_PATCH 1
/* Only allow clients to "fullscreen" into the space currently given to them. /* Only allow clients to "fullscreen" into the space currently given to them.
* As an example, this will allow you to view a fullscreen video in your browser on * As an example, this will allow you to view a fullscreen video in your browser on
@ -629,7 +629,7 @@
* The size and position can be specified using absolute, relative or fixed co-ordinates and * The size and position can be specified using absolute, relative or fixed co-ordinates and
* https://github.com/bakkeby/patches/wiki/floatpos/ * https://github.com/bakkeby/patches/wiki/floatpos/
*/ */
#define FLOATPOS_PATCH 0 #define FLOATPOS_PATCH 1
/* Add-on functionality for the above: make the float positions respect outer (vanity)gaps. */ /* Add-on functionality for the above: make the float positions respect outer (vanity)gaps. */
#define FLOATPOS_RESPECT_GAPS_PATCH 1 #define FLOATPOS_RESPECT_GAPS_PATCH 1
@ -650,7 +650,7 @@
* 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.
* https://github.com/bakkeby/patches/wiki/focusfollowmouse * https://github.com/bakkeby/patches/wiki/focusfollowmouse
*/ */
#define FOCUSFOLLOWMOUSE_PATCH 0 #define FOCUSFOLLOWMOUSE_PATCH 1
/* A simple patch that just puts focus back to the master client. /* A simple patch that just puts focus back to the master client.
* https://dwm.suckless.org/patches/focusmaster/ * https://dwm.suckless.org/patches/focusmaster/
@ -734,7 +734,7 @@
* applications that assume that the window manager is using window reparenting. * applications that assume that the window manager is using window reparenting.
* Refer to the ISSUES secton of the dwm man page for more details. * Refer to the ISSUES secton of the dwm man page for more details.
*/ */
#define LG3D_PATCH 0 #define LG3D_PATCH 1
/* By default in dwm it is possible to make an application fullscreen, then use /* By default in dwm it is possible to make an application fullscreen, then use
* the focusstack keybindings to focus on other windows beneath the current window. * the focusstack keybindings to focus on other windows beneath the current window.
@ -749,7 +749,7 @@
* windows using keybindings. * windows using keybindings.
* https://dwm.suckless.org/patches/maximize/ * https://dwm.suckless.org/patches/maximize/
*/ */
#define MAXIMIZE_PATCH 0 #define MAXIMIZE_PATCH 1
/* Control Music Player Daemon via keybinds. /* Control Music Player Daemon via keybinds.
* You need to uncomment the corresponding line in config.mk to use the -lmpdclient library * You need to uncomment the corresponding line in config.mk to use the -lmpdclient library
@ -766,7 +766,7 @@
* used for the main monitor. E.g. normal vertical split for main monitor and * used for the main monitor. E.g. normal vertical split for main monitor and
* horizontal split for the second. * horizontal split for the second.
*/ */
#define MONITOR_RULES_PATCH 0 #define MONITOR_RULES_PATCH 1
/* Always display the the monocle-symbol as defined in config.h if the monocle-layout /* Always display the the monocle-symbol as defined in config.h if the monocle-layout
* is activated. Do not display the number of open clients in the current tag. * is activated. Do not display the number of open clients in the current tag.