diff options
Diffstat (limited to 'tdescreensaver/krootbacking/xscreensaver-getimage')
-rw-r--r-- | tdescreensaver/krootbacking/xscreensaver-getimage | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tdescreensaver/krootbacking/xscreensaver-getimage b/tdescreensaver/krootbacking/xscreensaver-getimage new file mode 100644 index 00000000..4745ac1b --- /dev/null +++ b/tdescreensaver/krootbacking/xscreensaver-getimage @@ -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 |