diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2016-09-17 23:09:54 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2016-09-17 23:09:54 +0200 |
commit | 4e2bee021439ebbfe1d0d1502fdf95ff4b7c4cf6 (patch) | |
tree | 0570d980fe2beb1fb7fa605736d651549e3e3df0 /lib/Xconfig | |
parent | bad7fda6dcb1c2657f5595d68c71b807880d20e6 (diff) | |
download | drakx-kbd-mouse-x11-4e2bee021439ebbfe1d0d1502fdf95ff4b7c4cf6.tar drakx-kbd-mouse-x11-4e2bee021439ebbfe1d0d1502fdf95ff4b7c4cf6.tar.gz drakx-kbd-mouse-x11-4e2bee021439ebbfe1d0d1502fdf95ff4b7c4cf6.tar.bz2 drakx-kbd-mouse-x11-4e2bee021439ebbfe1d0d1502fdf95ff4b7c4cf6.tar.xz drakx-kbd-mouse-x11-4e2bee021439ebbfe1d0d1502fdf95ff4b7c4cf6.zip |
Change background symlink from default.jpg to default.png
Diffstat (limited to 'lib/Xconfig')
-rw-r--r-- | lib/Xconfig/resolution_and_depth.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Xconfig/resolution_and_depth.pm b/lib/Xconfig/resolution_and_depth.pm index 06662ce..fc008ce 100644 --- a/lib/Xconfig/resolution_and_depth.pm +++ b/lib/Xconfig/resolution_and_depth.pm @@ -263,7 +263,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+)(-(.*))?.jpg$/) { + if (my ($X, $Y, undef, $hour) = /^\Q$theme{THEME}\E-(\d+)x(\d+)(-(.*))?.png$/) { { file => $_, X => $X, Y => $Y, hour => $hour }; } else { () } } all($dir); @@ -288,9 +288,9 @@ sub set_default_background { foreach (@wanted) { if ($_->{hour}) { - symlinkf $_->{file}, "$dir/$theme{THEME}-$_->{hour}.jpg"; + symlinkf $_->{file}, "$dir/$theme{THEME}-$_->{hour}.png"; } else { - symlinkf $_->{file}, "$dir/default.jpg"; + symlinkf $_->{file}, "$dir/default.png"; } } } |