Compare commits

...

4 commits

3 changed files with 25 additions and 25 deletions

View file

@ -411,7 +411,7 @@
* *
* https://dwm.suckless.org/patches/statuscolors/ * https://dwm.suckless.org/patches/statuscolors/
*/ */
#define BAR_STATUSCOLORS_PATCH 0 #define BAR_STATUSCOLORS_PATCH 0
/* This patch adds configuration options for horizontal and vertical padding in the status bar. /* This patch adds configuration options for horizontal and vertical padding in the status bar.
* https://dwm.suckless.org/patches/statuspadding/ * https://dwm.suckless.org/patches/statuspadding/
@ -460,7 +460,7 @@
* This patch takes precedence over ATTACHASIDE_PATCH. * This patch takes precedence over ATTACHASIDE_PATCH.
* https://dwm.suckless.org/patches/attachabove/ * https://dwm.suckless.org/patches/attachabove/
*/ */
#define ATTACHABOVE_PATCH 0 #define ATTACHABOVE_PATCH 1
/* This patch adds new clients on top of the stack. /* This patch adds new clients on top of the stack.
* This patch takes precedence over ATTACHBELOW_PATCH. * This patch takes precedence over ATTACHBELOW_PATCH.
@ -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 1 #define CENTER_TRANSIENT_WINDOWS_BY_PARENT_PATCH 0
/* 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.
@ -537,7 +537,7 @@
/* This patch allows color attributes to be set through the command line. /* This patch allows color attributes to be set through the command line.
* https://dwm.suckless.org/patches/cmdcustomize/ * https://dwm.suckless.org/patches/cmdcustomize/
*/ */
#define CMDCUSTOMIZE_PATCH 0 #define CMDCUSTOMIZE_PATCH 1
/* This patch tweaks the tagging interface so that you can select multiple tags for tag /* This patch tweaks the tagging interface so that you can select multiple tags for tag
* or view by pressing all the right keys as a combo. For example to view tags 1 and 3, * or view by pressing all the right keys as a combo. For example to view tags 1 and 3,
@ -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/
@ -698,7 +698,7 @@
* to arrange space for an external bar. * to arrange space for an external bar.
* https://dwm.suckless.org/patches/insets/ * https://dwm.suckless.org/patches/insets/
*/ */
#define INSETS_PATCH 0 #define INSETS_PATCH 0
/* This patch (v1.5.7) implements inter-process communication through a UNIX socket for dwm. This /* This patch (v1.5.7) implements inter-process communication through a UNIX socket for dwm. This
* allows for the window manager to be queried for information, e.g. listen for events such as tag * allows for the window manager to be queried for information, e.g. listen for events such as tag
@ -743,7 +743,7 @@
* in such scenarios the previous window loses fullscreen. * in such scenarios the previous window loses fullscreen.
* https://github.com/bakkeby/patches/blob/master/dwm/dwm-losefullscreen-6.2.diff * https://github.com/bakkeby/patches/blob/master/dwm/dwm-losefullscreen-6.2.diff
*/ */
#define LOSEFULLSCREEN_PATCH 0 #define LOSEFULLSCREEN_PATCH 1
/* This patch adds helper functions for maximizing, horizontally and vertically, floating /* This patch adds helper functions for maximizing, horizontally and vertically, floating
* windows using keybindings. * windows using keybindings.
@ -1030,7 +1030,7 @@
/* This patch allows border pixels to be changed during runtime. /* This patch allows border pixels to be changed during runtime.
* https://dwm.suckless.org/patches/setborderpx/ * https://dwm.suckless.org/patches/setborderpx/
*/ */
#define SETBORDERPX_PATCH 0 #define SETBORDERPX_PATCH 1
/* Combines shifttag and shiftview. Basically moves the window to the next/prev tag and follows it. /* Combines shifttag and shiftview. Basically moves the window to the next/prev tag and follows it.
* Also see the focusadjacenttag patch. * Also see the focusadjacenttag patch.
@ -1042,7 +1042,7 @@
* Depends on the swaptags patch. * Depends on the swaptags patch.
* https://dwm.suckless.org/patches/shift-tools/ * https://dwm.suckless.org/patches/shift-tools/
*/ */
#define SHIFTSWAPTAGS_PATCH 0 #define SHIFTSWAPTAGS_PATCH 1
/* Moves the current selected client to the adjacent tag. /* Moves the current selected client to the adjacent tag.
* Also see the focusadjacenttag patch. * Also see the focusadjacenttag patch.
@ -1295,13 +1295,13 @@
* while increasing or decreasing the master area (nmaster) accordingly. * while increasing or decreasing the master area (nmaster) accordingly.
* https://dwm.suckless.org/patches/transfer/ * https://dwm.suckless.org/patches/transfer/
*/ */
#define TRANSFER_PATCH 0 #define TRANSFER_PATCH 1
/* Lets you transfer all clients between the master and stack area /* Lets you transfer all clients between the master and stack area
* while increasing or decreasing the master area (nmaster) accordingly. * while increasing or decreasing the master area (nmaster) accordingly.
* https://dwm.suckless.org/patches/transfer/ * https://dwm.suckless.org/patches/transfer/
*/ */
#define TRANSFER_ALL_PATCH 0 #define TRANSFER_ALL_PATCH 1
/* This patch resets isfloating on any visible windows that have it set. /* This patch resets isfloating on any visible windows that have it set.
* Optionally also applies a layout. * Optionally also applies a layout.

View file

@ -38,7 +38,7 @@ static const char * background_image = "";
#if DWM_LOGO_PATCH #if DWM_LOGO_PATCH
/* insert grid pattern with scale 1:1, the size can be changed with logosize */ /* insert grid pattern with scale 1:1, the size can be changed with logosize */
static const int logosize = 75; static const int logosize = 50;
static const int logow = 12; /* grid width and height for right center alignment*/ static const int logow = 12; /* grid width and height for right center alignment*/
static const int logoh = 6; static const int logoh = 6;
@ -62,23 +62,23 @@ static XRectangle rectangles[] = {
*/ */
ResourcePref resources[] = { ResourcePref resources[] = {
#if DWM_LOGO_PATCH && !BLUR_PIXELATED_SCREEN_PATCH #if DWM_LOGO_PATCH && !BLUR_PIXELATED_SCREEN_PATCH
{ "background", STRING, &colorname[BACKGROUND] }, { "color0", STRING, &colorname[BACKGROUND] },
#endif //DWM_LOGO_PATCH #endif //DWM_LOGO_PATCH
#if BACKGROUND_IMAGE_PATCH #if BACKGROUND_IMAGE_PATCH
{ "bg_image", STRING, &background_image }, { "bg_image", STRING, &background_image },
#endif // BACKGROUND_IMAGE_PATCH #endif // BACKGROUND_IMAGE_PATCH
{ "locked", STRING, &colorname[INIT] }, { "color0", STRING, &colorname[INIT] },
{ "input", STRING, &colorname[INPUT] }, { "color2", STRING, &colorname[INPUT] },
{ "failed", STRING, &colorname[FAILED] }, { "failed", STRING, &colorname[FAILED] },
#if CAPSCOLOR_PATCH #if CAPSCOLOR_PATCH
{ "capslock", STRING, &colorname[CAPS] }, { "color3", STRING, &colorname[CAPS] },
#endif // CAPSCOLOR_PATCH #endif // CAPSCOLOR_PATCH
#if PAMAUTH_PATCH #if PAMAUTH_PATCH
{ "pamauth", STRING, &colorname[PAM] }, { "color1", STRING, &colorname[PAM] },
#endif // PAMAUTH_PATCH #endif // PAMAUTH_PATCH
#if MESSAGE_PATCH || COLOR_MESSAGE_PATCH #if MESSAGE_PATCH || COLOR_MESSAGE_PATCH
{ "message", STRING, &message }, { "message", STRING, &message },
{ "text_color", STRING, &text_color }, { "color15", STRING, &text_color },
{ "font_name", STRING, &font_name }, { "font_name", STRING, &font_name },
#endif // MESSAGE_PATCH | COLOR_MESSAGE_PATCH #endif // MESSAGE_PATCH | COLOR_MESSAGE_PATCH
}; };
@ -86,7 +86,7 @@ ResourcePref resources[] = {
#if ALPHA_PATCH #if ALPHA_PATCH
/* lock screen opacity */ /* lock screen opacity */
static const float alpha = 0.9; static const float alpha = 0.75;
#endif // ALPHA_PATCH #endif // ALPHA_PATCH
/* treat a cleared input like a wrong password (color) */ /* treat a cleared input like a wrong password (color) */
@ -100,7 +100,7 @@ static const int timeoffset = 60;
static const int runonce = 0; static const int runonce = 0;
/* command to be run after [time] has passed */ /* command to be run after [time] has passed */
static const char *command = "doas poweroff"; static const char *command = "systemctl suspend";
#endif // AUTO_TIMEOUT_PATCH #endif // AUTO_TIMEOUT_PATCH
#if FAILURE_COMMAND_PATCH #if FAILURE_COMMAND_PATCH
@ -109,13 +109,13 @@ static const char *command = "doas poweroff";
static const int failcount = 0; static const int failcount = 0;
/* command to be executed after [failcount] failed password attempts */ /* command to be executed after [failcount] failed password attempts */
static const char *failcommand = "shutdown"; static const char *failcommand = "systemctl poweroff";
#endif // FAILURE_COMMAND_PATCH #endif // FAILURE_COMMAND_PATCH
#if SECRET_PASSWORD_PATCH #if SECRET_PASSWORD_PATCH
static const secretpass scom[] = { static const secretpass scom[] = {
/* Password command */ /* Password command */
{ "shutdown", "doas poweroff"}, { "shutdown", "systemctl poweroff"},
}; };
#endif // SECRET_PASSWORD_PATCH #endif // SECRET_PASSWORD_PATCH
@ -150,7 +150,7 @@ static const int blocks_x = 0;
static const int blocks_y = 0; static const int blocks_y = 0;
// Number of blocks // Number of blocks
static const int blocks_count = 10; static const int blocks_count = 20;
#endif // KEYPRESS_FEEDBACK_PATCH #endif // KEYPRESS_FEEDBACK_PATCH
#if PAMAUTH_PATCH #if PAMAUTH_PATCH

View file

@ -77,7 +77,7 @@
/* This patch draws the dwm logo which changes color based on the state. /* This patch draws the dwm logo which changes color based on the state.
* https://tools.suckless.org/slock/patches/dwmlogo/ * https://tools.suckless.org/slock/patches/dwmlogo/
*/ */
#define DWM_LOGO_PATCH 0 #define DWM_LOGO_PATCH 0
/* This patch allows for a command to be run after a specified number of incorrect attempts. /* This patch allows for a command to be run after a specified number of incorrect attempts.
* https://tools.suckless.org/slock/patches/failure-command/ * https://tools.suckless.org/slock/patches/failure-command/
@ -119,7 +119,7 @@
* no input (e.g. reading text, watching video, etc.). * no input (e.g. reading text, watching video, etc.).
* https://tools.suckless.org/slock/patches/quickcancel/ * https://tools.suckless.org/slock/patches/quickcancel/
*/ */
#define QUICKCANCEL_PATCH 0 #define QUICKCANCEL_PATCH 1
/* This patch allows for commands to be executed when the user enters special passwords. /* This patch allows for commands to be executed when the user enters special passwords.
* https://tools.suckless.org/slock/patches/secret-password/ * https://tools.suckless.org/slock/patches/secret-password/