[update] rc, custom lockscreen text

This commit is contained in:
Pavan Jadhaw 2019-02-07 08:54:35 +05:30
parent 08440bab90
commit 364848eec6
No known key found for this signature in database
GPG key ID: C5EF103236859A91
2 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -13,4 +13,5 @@ verifcolor=ffffffff
timecolor=ffffffff
datecolor=ffffffff
loginbox=00000066
font="sans-serif"
font="sans-serif"
locktext='Type password to unlock...'