diff options
Diffstat (limited to 'skel/.config/autostart/autostart.sh')
-rwxr-xr-x | skel/.config/autostart/autostart.sh | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/skel/.config/autostart/autostart.sh b/skel/.config/autostart/autostart.sh index 82bcc6a..3ac5a24 100755 --- a/skel/.config/autostart/autostart.sh +++ b/skel/.config/autostart/autostart.sh @@ -1,14 +1,13 @@ #!/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 & +do [ -f $notice ] && gxmessage -title "_EDITION_TITLE_" \ + -file $notice \ + -buttons "OK:1,Don't show this again:0" \ + -default "OK" \ + -geometry 620x460 \ + -center -wrap -ontop -sticky && rm $notice & done ~/.config/autostart/autostart-lxde.sh & |