summaryrefslogtreecommitdiffstats
path: root/mga-bg-res
diff options
context:
space:
mode:
authorDonald Stewart <schultz@mageia.org>2019-05-04 23:11:39 +0100
committerDonald Stewart <schultz@mageia.org>2019-05-04 23:11:39 +0100
commit9647a3930a808963e22ce721aadeab5ae0edeb97 (patch)
treeee3fa6ca3c6598ad40d502358600f06395b9aa90 /mga-bg-res
parent2579bb9c60706352fa9a655b41946ddc3b656e0a (diff)
downloadtheme-9647a3930a808963e22ce721aadeab5ae0edeb97.tar
theme-9647a3930a808963e22ce721aadeab5ae0edeb97.tar.gz
theme-9647a3930a808963e22ce721aadeab5ae0edeb97.tar.bz2
theme-9647a3930a808963e22ce721aadeab5ae0edeb97.tar.xz
theme-9647a3930a808963e22ce721aadeab5ae0edeb97.zip
7.0
- New artwork for MGA7 - Backgrounds: support for 3440x1440 added - mga-bg-res: support added for ultrawide - Extra-Backgrounds: MGA6 Background added
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]}