From 62db77d770bbacee666631ca8fbe981e444afa96 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Thu, 21 Dec 2017 13:20:57 -0500 Subject: add wbar --- skel/.config/autostart/autostart.sh | 13 ++++++------- skel/.config/autostart/wbar.desktop | 5 +++++ skel/.config/lxpanel/LXDE/panels/panel | 5 ++++- skel/.wbar | 23 +++++++++++++++++++++++ 4 files changed, 38 insertions(+), 8 deletions(-) create mode 100644 skel/.config/autostart/wbar.desktop create mode 100644 skel/.wbar 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 & diff --git a/skel/.config/autostart/wbar.desktop b/skel/.config/autostart/wbar.desktop new file mode 100644 index 0000000..4f921a4 --- /dev/null +++ b/skel/.config/autostart/wbar.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Type=Application +Name=wBar +Exec=wbar +Terminal=false diff --git a/skel/.config/lxpanel/LXDE/panels/panel b/skel/.config/lxpanel/LXDE/panels/panel index 4108351..ae80ce2 100644 --- a/skel/.config/lxpanel/LXDE/panels/panel +++ b/skel/.config/lxpanel/LXDE/panels/panel @@ -2,7 +2,7 @@ # Use preference dialog in lxpanel to adjust config when you can. Global { - edge=bottom + edge=top align=left margin=0 widthtype=percent @@ -74,6 +74,9 @@ Plugin { Button { id=pcmanfm.desktop } + Button { + id=leafpad.desktop + } Button { id=lxterminal.desktop } diff --git a/skel/.wbar b/skel/.wbar new file mode 100644 index 0000000..897cc1b --- /dev/null +++ b/skel/.wbar @@ -0,0 +1,23 @@ +i: /usr/share/pixmaps/wbar/wbar-dock.png +c: wbar --bpress --above-desk --pos bottom --taskbar --isize 32 --idist 5 --nanim 4 --falfa 65 +t: /usr/share/fonts/TTF/DejaVuSans-Bold.ttf/10 + +i: /usr/share/icons/hicolor/32x32/apps/iceweasel.png +c: /usr/bin/iceweasel +t: IceWeasel + +i: /usr/share/icons/hicolor/32x32/apps/pidgin.png +c: /usr/bin/pidgin +t: Pidgin + +i: /usr/share/icons/Adwaita/32x32/apps/system-file-manager.png +c: /usr/bin/pcmanfm +t: PcManFm + +i: /usr/share/icons/hicolor/32x32/apps/leafpad.png +c: /usr/bin/leafpad +t: Leafpad + +i: /usr/share/icons/hicolor/128x128/apps/lxterminal.png +c: /usr/bin/lxterminal +t: LxTerminal -- cgit v1.2.2