mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-24 04:45:08 +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
|
||||
case $output in
|
||||
eDP-1|eDP1) corrected=$(($dpi * 96/144)) ;;
|
||||
*) corrected=$dpi
|
||||
*) corrected=$dpi ;;
|
||||
esac
|
||||
# Authorized factors: 1, 1.5, 2, 3, 4, ...
|
||||
rounded=$(((corrected + 24) / 48 * 48))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue