diff options
author | Olivier Blin <blino@mageia.org> | 2012-09-25 21:58:25 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2012-09-25 21:58:25 +0000 |
commit | ab412f0d3d7223fa8399276fd5560a7bb40f25fc (patch) | |
tree | d0c87e66e9cf9b33599210eb45eb4d3d7603fa48 /tools | |
parent | d28186eecd101abec9e22772f734e01e174ce46e (diff) | |
download | drakx-kbd-mouse-x11-ab412f0d3d7223fa8399276fd5560a7bb40f25fc.tar drakx-kbd-mouse-x11-ab412f0d3d7223fa8399276fd5560a7bb40f25fc.tar.gz drakx-kbd-mouse-x11-ab412f0d3d7223fa8399276fd5560a7bb40f25fc.tar.bz2 drakx-kbd-mouse-x11-ab412f0d3d7223fa8399276fd5560a7bb40f25fc.tar.xz drakx-kbd-mouse-x11-ab412f0d3d7223fa8399276fd5560a7bb40f25fc.zip |
add drakx-update-background tool to replace perl one-liner using Xconfig::xfree in bootsplash/scripts/switch-themes
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/drakx-update-background | 10 |
1 files changed, 10 insertions, 0 deletions
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); |