Add interface for xscreensaver desktop distortions

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1248138 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 65c92df31b
commit d943272480

@ -8,3 +8,6 @@ krootbacking_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_KD
METASOURCES = AUTO METASOURCES = AUTO
noinst_HEADERS = krootbacking.h noinst_HEADERS = krootbacking.h
hackdir = $(DESTDIR)/usr/local/bin/
hack_DATA = xscreensaver-getimage xscreensaver-getimage-file

@ -0,0 +1,9 @@
#!/bin/bash
# Yes, this is quite fragile
# Yes, it should be fixed
# But for this non-critical function it should be good enough...
REAL_BINARY=$(whereis -b xscreensaver-getimage | awk '{print $2}')
if [[ "$0" != "$REAL_BINARY" ]]; then
$REAL_BINARY -no-video -no-desktop -images "$@"
fi
Loading…
Cancel
Save