summaryrefslogtreecommitdiff
path: root/setup-gparted-desktop.in
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-02 22:28:23 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-02 23:12:27 +0100
commit281cbbd6cd8ecfc3d5c1a365ae01f2e49ad25f24 (patch)
tree9bf3e352b97c7d3742c94b31d7d2e6886dc001b1 /setup-gparted-desktop.in
parent07c02f672a5708e4dcd9ed9aa3935840916f4c6e (diff)
downloadalpine-conf-281cbbd6cd8ecfc3d5c1a365ae01f2e49ad25f24.zip
indent heredocs and replace echos with heredoc where appropriate
Diffstat (limited to 'setup-gparted-desktop.in')
-rw-r--r--setup-gparted-desktop.in56
1 files changed, 28 insertions, 28 deletions
diff --git a/setup-gparted-desktop.in b/setup-gparted-desktop.in
index 849aacc..a5f2f1b 100644
--- a/setup-gparted-desktop.in
+++ b/setup-gparted-desktop.in
@@ -4,37 +4,37 @@ setup-xorg-base gparted xinit st openbox ttf-freefont $@
# create openbox menu
mkdir -p ~/.config/openbox
-cat >~/.config/openbox/menu.xml<<EOF
-<?xml version="1.0" encoding="UTF-8"?>
+cat >~/.config/openbox/menu.xml<<-__EOF__
+ <?xml version="1.0" encoding="UTF-8"?>
-<openbox_menu xmlns="http://openbox.org/3.4/menu">
-<menu id="root-menu" label="Openbox 3">
- <separator label="Applications" />
- <item label="GParted">
- <action name="Execute">
- <command>gparted</command>
- </action>
- </item>
- <item label="aterm">
- <action name="Execute">
- <command>aterm</command>
- </action>
- </item>
- <separator />
- <item label="Log Out">
- <action name="Exit">
- <prompt>yes</prompt>
- </action>
- </item>
-</menu>
-</openbox_menu>
-EOF
+ <openbox_menu xmlns="http://openbox.org/3.4/menu">
+ <menu id="root-menu" label="Openbox 3">
+ <separator label="Applications" />
+ <item label="GParted">
+ <action name="Execute">
+ <command>gparted</command>
+ </action>
+ </item>
+ <item label="aterm">
+ <action name="Execute">
+ <command>aterm</command>
+ </action>
+ </item>
+ <separator />
+ <item label="Log Out">
+ <action name="Exit">
+ <prompt>yes</prompt>
+ </action>
+ </item>
+ </menu>
+ </openbox_menu>
+__EOF__
# create xinitrc
-cat >~/.xinitrc <<EOF
-gparted &
-exec openbox-session
-EOF
+cat >~/.xinitrc <<-__EOF__
+ gparted &
+ exec openbox-session
+__EOF__
echo ""
echo " To start GParted run: startx"