Compare commits
5 Commits
fa17ed8583
...
c8e7d7e57b
Author | SHA1 | Date |
---|---|---|
Victor Timofei | c8e7d7e57b | |
Khue Doan | 37f091cb16 | |
Khue Doan | 80527dd298 | |
Khue Doan | ac423628c9 | |
Khue Doan | e7327bb34d |
|
@ -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).
|
||||
|
|
10
config.h
10
config.h
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue