From ab412f0d3d7223fa8399276fd5560a7bb40f25fc Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 25 Sep 2012 21:58:25 +0000 Subject: add drakx-update-background tool to replace perl one-liner using Xconfig::xfree in bootsplash/scripts/switch-themes --- tools/drakx-update-background | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 tools/drakx-update-background (limited to 'tools') diff --git a/tools/drakx-update-background b/tools/drakx-update-background new file mode 100755 index 0000000..2ba3293 --- /dev/null +++ b/tools/drakx-update-background @@ -0,0 +1,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); -- cgit v1.2.1