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

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

require_root_capability();

Xconfig::resolution_and_depth::set_default_background(Xconfig::xfree->read->get_resolution);