mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-26 13:54:29 +02:00
xsettingsd: fix typo in case
This commit is contained in:
parent
c944c7855d
commit
139af6fed5
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ xrandr --current \
|
||||||
# For laptop screens, we need to apply a correction factor
|
# For laptop screens, we need to apply a correction factor
|
||||||
case $output in
|
case $output in
|
||||||
eDP-1|eDP1) corrected=$(($dpi * 96/144)) ;;
|
eDP-1|eDP1) corrected=$(($dpi * 96/144)) ;;
|
||||||
*) corrected=$dpi
|
*) corrected=$dpi ;;
|
||||||
esac
|
esac
|
||||||
# Authorized factors: 1, 1.5, 2, 3, 4, ...
|
# Authorized factors: 1, 1.5, 2, 3, 4, ...
|
||||||
rounded=$(((corrected + 24) / 48 * 48))
|
rounded=$(((corrected + 24) / 48 * 48))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue