#!/bin/bash

export \
  DISPLAY=:0 \
  XAUTHORITY=/tmp/kde-radek/xauth-1000-_0 \
  HOME=/home/radek \
  KDE_SESSION_VERSION=4 \
  XDG_CURRENT_DESKTOP=KDE

exec "$(dirname "`readlink -f "$0"`")/cups-pdf-postprocess.py" "$@" <<'EOF'
  ("Nessie gray", ["ssh", "iuuk", "lp", "-d", "nessie-gray"]),
  ("Nessie color", ["ssh", "iuuk", "lp", "-d", "nessie-color"]),
  ("Obludka (2nd floor)", ["ssh", "iuuk", "lp", "-d", "obludka"]),
  ("Potvurka (Petra's office)", ["ssh", "iuuk", "lp", "-d", "potvurka"]),
EOF

