Add QoL patches for slock

This commit is contained in:
Alexis Jhon Gaspar 2023-10-19 23:18:09 +08:00
parent fff5460462
commit f9145f309a

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 1
/* 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/
@ -88,7 +88,7 @@
* https://tools.suckless.org/slock/patches/keypress-feedback/ * https://tools.suckless.org/slock/patches/keypress-feedback/
* https://patch-diff.githubusercontent.com/raw/phenax/bslock/pull/2.diff * https://patch-diff.githubusercontent.com/raw/phenax/bslock/pull/2.diff
*/ */
#define KEYPRESS_FEEDBACK_PATCH 0 #define KEYPRESS_FEEDBACK_PATCH 1
/* This patch allows media keys to be used while the screen is locked. Allows for volume /* This patch allows media keys to be used while the screen is locked. Allows for volume
* to be adjusted or to skip to the next song without having to unlock the screen first. * to be adjusted or to skip to the next song without having to unlock the screen first.
@ -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/