Compare commits

...

5 Commits

Author SHA1 Message Date
Victor Timofei c8e7d7e57b
Clear message 2021-12-07 19:57:02 +02:00
Khue Doan 37f091cb16 Add blur effect instruction 2021-04-12 08:38:41 +07:00
Khue Doan 80527dd298 Temporary seg fault fix 2020-08-22 19:11:42 +07:00
Khue Doan ac423628c9
Merge pull request #1 from khuedoan/theme/onedark
Replace Dracula with One Dark
2020-08-12 04:45:01 +00:00
Khue Doan e7327bb34d Replace Dracula with One Dark 2020-08-12 11:44:17 +07:00
2 changed files with 12 additions and 5 deletions

View File

@ -23,3 +23,10 @@ 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,8 +4,8 @@ static const char *group = "nobody";
static const char *colorname[NUMCOLS] = {
[INIT] = "#000000", /* after initialization */
[INPUT] = "#282a36", /* during input */
[FAILED] = "#ff5555", /* wrong password */
[INPUT] = "#282c34", /* during input */
[FAILED] = "#be5046", /* wrong password */
};
/* lock screen opacity */
@ -15,10 +15,10 @@ static const float alpha = 0.5;
static const int failonclear = 1;
/* default message */
static const char * message = "Enter password to unlock";
static const char * message = "";
/* text color */
static const char * text_color = "#ffffff";
static const char * text_color = "#abb2bf";
/* text size (must be a valid size) */
static const char * text_size = "-*-dejavu sans mono-bold-r-normal--22-*-*-*-*-*-iso10646-1";
static const char * text_size = "fixed";