summaryrefslogtreecommitdiffstats
path: root/mga-bg-res
diff options
context:
space:
mode:
Diffstat (limited to 'mga-bg-res')
-rw-r--r--mga-bg-res/NEWS4
-rwxr-xr-xmga-bg-res/mga-bg-res.sh2
2 files changed, 5 insertions, 1 deletions
diff --git a/mga-bg-res/NEWS b/mga-bg-res/NEWS
index a815ce6..d875e1e 100644
--- a/mga-bg-res/NEWS
+++ b/mga-bg-res/NEWS
@@ -1,4 +1,8 @@
git version (follows mageia-theme versioning and releases):
+Version 7.0
+- Add support for 3400x1440 ultrawide
+
+Version 6.5
- Merge versioning back into that of mageia-theme
- Fix 16:9 reference resolution for Mageia 6 artwork (3840x2160)
- Use monitor-edid directly instead of monitor-probe, as the latter falls
diff --git a/mga-bg-res/mga-bg-res.sh b/mga-bg-res/mga-bg-res.sh
index 888db1a..74a6371 100755
--- a/mga-bg-res/mga-bg-res.sh
+++ b/mga-bg-res/mga-bg-res.sh
@@ -29,7 +29,7 @@ if [ ! -e "$bgpath/$theme-$res.png" ]; then
# Bash only does integer arithmetic, we multiply everything by 1000 to workaround this
ratio=$((1000*$width/$height))
declare -A refRatios=( ["1250"]="1280x1024" ["1333"]="1600x1200" ["1600"]="1920x1200"
- ["1667"]="1280x768" ["1707"]="1024x600" ["1778"]="3840x2160" )
+ ["1667"]="1280x768" ["1707"]="1024x600" ["1778"]="3840x2160" ["2389"]="3440x1440" )
for key in "${!refRatios[@]}"; do
if [ $(($ratio % $key)) -lt 25 -o $(($key % $ratio)) -lt 25 ]; then
res=${refRatios[$key]}