summaryrefslogtreecommitdiffstats
path: root/tools/drakx-update-background
blob: 6a2d13ced2b6e24459ea8821baa18d9aea3751b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/perl

use lib qw(/usr/lib/libDrakX);
use common;
use Xconfig::xfree;
use Xconfig::resolution_and_depth;

require_root_capability();

my $resolution = eval { Xconfig::xfree->read->get_resolution };
Xconfig::resolution_and_depth::set_default_background($resolution);