Compare commits

..

No commits in common. "333a6d9675fc316b2b4cc25ca8bdc29cb587f327" and "fa17ed85834d56e8b1efdfe1d27b68af0c409a81" have entirely different histories.

2 changed files with 5 additions and 12 deletions

View File

@ -23,10 +23,3 @@ make clean install
## Running slock
Simply invoke the 'slock' command. To get out of it, enter your password.
## Blur effect
This fork leverages picom's new kawase blur method instead of taking a screenshot, blur it using ImageMagick without hardware acceleration and then set it as the lock screen wallpaper.
The end result is much higher performance and much lower latency.
Currently, you will need to enable the experimental backend in picom using `picom --experimental-backends`, you can check out my picom config [here](https://github.com/khuedoan/dotfiles/blob/master/.config/picom/picom.conf#L29).

View File

@ -4,12 +4,12 @@ static const char *group = "nobody";
static const char *colorname[NUMCOLS] = {
[INIT] = "#000000", /* after initialization */
[INPUT] = "#16181c", /* during input */
[FAILED] = "#54221d", /* wrong password */
[INPUT] = "#282a36", /* during input */
[FAILED] = "#ff5555", /* wrong password */
};
/* lock screen opacity */
static const float alpha = 0.8;
static const float alpha = 0.5;
/* treat a cleared input like a wrong password (color) */
static const int failonclear = 1;
@ -18,7 +18,7 @@ static const int failonclear = 1;
static const char * message = "Enter password to unlock";
/* text color */
static const char * text_color = "#abb2bf";
static const char * text_color = "#ffffff";
/* text size (must be a valid size) */
static const char * text_size = "-*-*-medium-r-*-sans-34-*-*-*-*-*-*-*";
static const char * text_size = "-*-dejavu sans mono-bold-r-normal--22-*-*-*-*-*-iso10646-1";