summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Xconfig/resolution_and_depth.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Xconfig/resolution_and_depth.pm b/lib/Xconfig/resolution_and_depth.pm
index 18afdef..c50f2ea 100644
--- a/lib/Xconfig/resolution_and_depth.pm
+++ b/lib/Xconfig/resolution_and_depth.pm
@@ -256,7 +256,7 @@ sub set_default_background {
my %theme = getVarsFromSh("$::prefix/etc/sysconfig/bootsplash");
my @l = map {
- if (my ($X, $Y, undef, $hour) = /^\Q$theme{THEME}\E-(\d+)x(\d+)(-(.*))?.png$/) {
+ if (my ($X, $Y, undef, $hour) = /^\Q$theme{THEME}\E-(\d+)x(\d+)(-(.*))?.jpg$/) {
{ file => $_, X => $X, Y => $Y, hour => $hour };
} else { () }
} all($dir);
@@ -281,8 +281,9 @@ sub set_default_background {
foreach (@wanted) {
if ($_->{hour}) {
- symlinkf $_->{file}, "$dir/$theme{THEME}-$_->{hour}.png";
+ symlinkf $_->{file}, "$dir/$theme{THEME}-$_->{hour}.jpg";
} else {
+ symlinkf $_->{file}, "$dir/default.jpg";
symlinkf $_->{file}, "$dir/default.png";
}
}