diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2017-12-21 13:20:57 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2017-12-21 14:49:59 -0500 |
commit | 62db77d770bbacee666631ca8fbe981e444afa96 (patch) | |
tree | 2932e39dda47f11859d5f5f7f2137fe6cdf76a27 /skel/.config/autostart/autostart.sh | |
parent | 16fca14853765a7adb1a3c46ad1b4ef4543c700f (diff) |
add wbarv0.7
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 & |