diff options
Diffstat (limited to 'mga-bg-res/mga-bg-res.xinit')
-rwxr-xr-x | mga-bg-res/mga-bg-res.xinit | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mga-bg-res/mga-bg-res.xinit b/mga-bg-res/mga-bg-res.xinit index 558b1cd..89aa97a 100755 --- a/mga-bg-res/mga-bg-res.xinit +++ b/mga-bg-res/mga-bg-res.xinit @@ -13,8 +13,8 @@ if [ $(readlink "$bgpath/default.jpg") != "$bgpath/Mageia-Default-$res.jpg" ]; t ratio=$((1000*$width/$height)) found=false - declare -A refRatios=( ["1250"]="1280x1024" ["1333"]="2560x1920" ["1600"]="1920x1200" - ["1667"]="800x480" ["1707"]="1024x600" ["1778"]="1920x1080" ) + declare -A refRatios=( ["1250"]="1280x1024" ["1333"]="1600x1200" ["1600"]="1920x1200" + ["1667"]="1280x768" ["1707"]="1024x600" ["1778"]="1920x1080" ) for key in "${!refRatios[@]}"; do if [ $(($ratio % $key)) -lt 25 -o $(($key % $ratio)) -lt 25 ]; then res=${refRatios[$key]} |