Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FILENAME="$1"
- if [ -e "$FILENAME" ]; then
- dbus-send --system --print-reply --dest=com.kimmoli.toholed / com.kimmoli.toholed.draw \
- string:"bitmap" int32:0 int32:0 \ array:byte:0x42,0x4d,0x62,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3e,0x00,0x00,0x00,0x`xxd -c 1 -ps "$FILENAME" \
- | sed 's/$/,0x/' | tr -d "\n" | rev | cut -c 4- | rev`
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement