blob: 82bcc6a6b0e47ac131437c6594cd370a9b2705d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
XML_ESCAPE_REGEX="s|^//\(.*\)||; s|\&|\&|g; s|>|\>|g; s|<|\<|g; s|'|\'|g;"
for notice in ~/welcome.txt ~/news.txt
do [ -f $notice ] && zenity --forms --width=620 \
--title="_EDITION_TITLE_" \
--text="$(sed "$XML_ESCAPE_REGEX" $notice)" \
--ok-label="OK" \
--cancel-label="Don't show this again" || rm $notice &
done
~/.config/autostart/autostart-lxde.sh &
|