mirror of
https://git.adityakumar.xyz/betterlockscreen-openrc.git
synced 2024-11-09 18:49:45 +00:00
removed warnings
This commit is contained in:
parent
e33fc1dacb
commit
5a2fbbaddd
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ logical_px() {
|
||||||
local DPI=$(xrdb -query | awk '/Xft.dpi/ {print $2}')
|
local DPI=$(xrdb -query | awk '/Xft.dpi/ {print $2}')
|
||||||
|
|
||||||
# return the default value if no DPI is set
|
# return the default value if no DPI is set
|
||||||
if [ -z "$DPI"]; then
|
if [ -z "$DPI" ]; then
|
||||||
echo $1
|
echo $1
|
||||||
else
|
else
|
||||||
local SCALE=$(echo "scale=2; $DPI / 96.0" | bc)
|
local SCALE=$(echo "scale=2; $DPI / 96.0" | bc)
|
||||||
|
|
Loading…
Reference in a new issue