Compare commits
No commits in common. "27790fc26d00f0ed694ed42d42e51729939f54fe" and "f1ed23538ea0363f14dec962b789bf6435a61313" have entirely different histories.
27790fc26d
...
f1ed23538e
|
@ -460,7 +460,7 @@
|
|||
* This patch takes precedence over ATTACHASIDE_PATCH.
|
||||
* https://dwm.suckless.org/patches/attachabove/
|
||||
*/
|
||||
#define ATTACHABOVE_PATCH 1
|
||||
#define ATTACHABOVE_PATCH 0
|
||||
|
||||
/* This patch adds new clients on top of the stack.
|
||||
* 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
|
||||
* 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
|
||||
* respective stack in tiled layout.
|
||||
|
@ -537,7 +537,7 @@
|
|||
/* This patch allows color attributes to be set through the command line.
|
||||
* https://dwm.suckless.org/patches/cmdcustomize/
|
||||
*/
|
||||
#define CMDCUSTOMIZE_PATCH 1
|
||||
#define CMDCUSTOMIZE_PATCH 0
|
||||
|
||||
/* 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,
|
||||
|
@ -650,7 +650,7 @@
|
|||
* client window that remains under the mouse cursor rather than the most recently focused window.
|
||||
* https://github.com/bakkeby/patches/wiki/focusfollowmouse
|
||||
*/
|
||||
#define FOCUSFOLLOWMOUSE_PATCH 1
|
||||
#define FOCUSFOLLOWMOUSE_PATCH 0
|
||||
|
||||
/* A simple patch that just puts focus back to the master client.
|
||||
* https://dwm.suckless.org/patches/focusmaster/
|
||||
|
@ -743,7 +743,7 @@
|
|||
* in such scenarios the previous window loses fullscreen.
|
||||
* https://github.com/bakkeby/patches/blob/master/dwm/dwm-losefullscreen-6.2.diff
|
||||
*/
|
||||
#define LOSEFULLSCREEN_PATCH 1
|
||||
#define LOSEFULLSCREEN_PATCH 0
|
||||
|
||||
/* This patch adds helper functions for maximizing, horizontally and vertically, floating
|
||||
* windows using keybindings.
|
||||
|
@ -1030,7 +1030,7 @@
|
|||
/* This patch allows border pixels to be changed during runtime.
|
||||
* https://dwm.suckless.org/patches/setborderpx/
|
||||
*/
|
||||
#define SETBORDERPX_PATCH 1
|
||||
#define SETBORDERPX_PATCH 0
|
||||
|
||||
/* Combines shifttag and shiftview. Basically moves the window to the next/prev tag and follows it.
|
||||
* Also see the focusadjacenttag patch.
|
||||
|
@ -1042,7 +1042,7 @@
|
|||
* Depends on the swaptags patch.
|
||||
* https://dwm.suckless.org/patches/shift-tools/
|
||||
*/
|
||||
#define SHIFTSWAPTAGS_PATCH 1
|
||||
#define SHIFTSWAPTAGS_PATCH 0
|
||||
|
||||
/* Moves the current selected client to the adjacent tag.
|
||||
* Also see the focusadjacenttag patch.
|
||||
|
@ -1295,13 +1295,13 @@
|
|||
* while increasing or decreasing the master area (nmaster) accordingly.
|
||||
* https://dwm.suckless.org/patches/transfer/
|
||||
*/
|
||||
#define TRANSFER_PATCH 1
|
||||
#define TRANSFER_PATCH 0
|
||||
|
||||
/* Lets you transfer all clients between the master and stack area
|
||||
* while increasing or decreasing the master area (nmaster) accordingly.
|
||||
* https://dwm.suckless.org/patches/transfer/
|
||||
*/
|
||||
#define TRANSFER_ALL_PATCH 1
|
||||
#define TRANSFER_ALL_PATCH 0
|
||||
|
||||
/* This patch resets isfloating on any visible windows that have it set.
|
||||
* Optionally also applies a layout.
|
||||
|
|
|
@ -38,7 +38,7 @@ static const char * background_image = "";
|
|||
|
||||
#if DWM_LOGO_PATCH
|
||||
/* insert grid pattern with scale 1:1, the size can be changed with logosize */
|
||||
static const int logosize = 50;
|
||||
static const int logosize = 75;
|
||||
static const int logow = 12; /* grid width and height for right center alignment*/
|
||||
static const int logoh = 6;
|
||||
|
||||
|
@ -62,23 +62,23 @@ static XRectangle rectangles[] = {
|
|||
*/
|
||||
ResourcePref resources[] = {
|
||||
#if DWM_LOGO_PATCH && !BLUR_PIXELATED_SCREEN_PATCH
|
||||
{ "color0", STRING, &colorname[BACKGROUND] },
|
||||
{ "background", STRING, &colorname[BACKGROUND] },
|
||||
#endif //DWM_LOGO_PATCH
|
||||
#if BACKGROUND_IMAGE_PATCH
|
||||
{ "bg_image", STRING, &background_image },
|
||||
#endif // BACKGROUND_IMAGE_PATCH
|
||||
{ "color0", STRING, &colorname[INIT] },
|
||||
{ "color2", STRING, &colorname[INPUT] },
|
||||
{ "locked", STRING, &colorname[INIT] },
|
||||
{ "input", STRING, &colorname[INPUT] },
|
||||
{ "failed", STRING, &colorname[FAILED] },
|
||||
#if CAPSCOLOR_PATCH
|
||||
{ "color3", STRING, &colorname[CAPS] },
|
||||
{ "capslock", STRING, &colorname[CAPS] },
|
||||
#endif // CAPSCOLOR_PATCH
|
||||
#if PAMAUTH_PATCH
|
||||
{ "color1", STRING, &colorname[PAM] },
|
||||
{ "pamauth", STRING, &colorname[PAM] },
|
||||
#endif // PAMAUTH_PATCH
|
||||
#if MESSAGE_PATCH || COLOR_MESSAGE_PATCH
|
||||
{ "message", STRING, &message },
|
||||
{ "color15", STRING, &text_color },
|
||||
{ "text_color", STRING, &text_color },
|
||||
{ "font_name", STRING, &font_name },
|
||||
#endif // MESSAGE_PATCH | COLOR_MESSAGE_PATCH
|
||||
};
|
||||
|
@ -86,7 +86,7 @@ ResourcePref resources[] = {
|
|||
|
||||
#if ALPHA_PATCH
|
||||
/* lock screen opacity */
|
||||
static const float alpha = 0.75;
|
||||
static const float alpha = 0.9;
|
||||
#endif // ALPHA_PATCH
|
||||
|
||||
/* treat a cleared input like a wrong password (color) */
|
||||
|
@ -100,7 +100,7 @@ static const int timeoffset = 60;
|
|||
static const int runonce = 0;
|
||||
|
||||
/* command to be run after [time] has passed */
|
||||
static const char *command = "systemctl suspend";
|
||||
static const char *command = "doas poweroff";
|
||||
#endif // AUTO_TIMEOUT_PATCH
|
||||
|
||||
#if FAILURE_COMMAND_PATCH
|
||||
|
@ -109,13 +109,13 @@ static const char *command = "systemctl suspend";
|
|||
static const int failcount = 0;
|
||||
|
||||
/* command to be executed after [failcount] failed password attempts */
|
||||
static const char *failcommand = "systemctl poweroff";
|
||||
static const char *failcommand = "shutdown";
|
||||
#endif // FAILURE_COMMAND_PATCH
|
||||
|
||||
#if SECRET_PASSWORD_PATCH
|
||||
static const secretpass scom[] = {
|
||||
/* Password command */
|
||||
{ "shutdown", "systemctl poweroff"},
|
||||
{ "shutdown", "doas poweroff"},
|
||||
};
|
||||
#endif // SECRET_PASSWORD_PATCH
|
||||
|
||||
|
@ -150,7 +150,7 @@ static const int blocks_x = 0;
|
|||
static const int blocks_y = 0;
|
||||
|
||||
// Number of blocks
|
||||
static const int blocks_count = 20;
|
||||
static const int blocks_count = 10;
|
||||
#endif // KEYPRESS_FEEDBACK_PATCH
|
||||
|
||||
#if PAMAUTH_PATCH
|
||||
|
|
|
@ -119,7 +119,7 @@
|
|||
* no input (e.g. reading text, watching video, etc.).
|
||||
* https://tools.suckless.org/slock/patches/quickcancel/
|
||||
*/
|
||||
#define QUICKCANCEL_PATCH 1
|
||||
#define QUICKCANCEL_PATCH 0
|
||||
|
||||
/* This patch allows for commands to be executed when the user enters special passwords.
|
||||
* https://tools.suckless.org/slock/patches/secret-password/
|
||||
|
|
Loading…
Reference in a new issue