diff options
author | Pavan Jadhaw <pavanjadhaw96@gmail.com> | 2019-02-07 08:54:35 +0530 |
---|---|---|
committer | Pavan Jadhaw <pavanjadhaw96@gmail.com> | 2019-02-07 08:54:35 +0530 |
commit | 364848eec6fd4ce7c84a22bfbfe5249aec02c8d9 (patch) | |
tree | 08cfc3adca67559b5fca44da60e5382dbca59cd2 /betterlockscreen | |
parent | 08440bab90958ff77c906513d8acda71b28214d2 (diff) |
[update] rc, custom lockscreen text
Diffstat (limited to 'betterlockscreen')
-rwxr-xr-x | betterlockscreen | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/betterlockscreen b/betterlockscreen index 93a3831..a33e033 100755 --- a/betterlockscreen +++ b/betterlockscreen @@ -6,8 +6,6 @@ # find your resolution so images can be resized to match your screen resolution res=$(xdpyinfo | grep dimensions | sed -r 's/^[^0-9]*([0-9]+x[0-9]+).*$/\1/') -locktext='Type password to unlock...' - init_filenames() { #$1 resolution @@ -32,6 +30,7 @@ init_filenames() { datecolor=ffffffff loginbox=00000066 font="sans-serif" + locktext='Type password to unlock...' fi # create folder in ~/.cache/i3lock directory @@ -141,7 +140,7 @@ lockselect() { logical_px() { # get dpi value from xrdb local DPI=$(xrdb -query | awk '/Xft.dpi/ {print $2}') - + # return the default value if no DPI is set if [ -z "$DPI" ]; then echo $1 @@ -158,7 +157,7 @@ logical_px() { } update() { - # use + # use background="$1" # default blur level; fallback to 1 |