summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlibsisyphus70
1 files changed, 52 insertions, 18 deletions
diff --git a/libsisyphus b/libsisyphus
index 95b19ee..383be78 100755
--- a/libsisyphus
+++ b/libsisyphus
@@ -6,9 +6,9 @@ export local showprogress="yad --title "sisyphus" --progress --pulsate --width 8
# accesories category ui function
export local accesoriesui='
-<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" with-request="800" height-request="600">
-<hbox>
-</hbox>
+<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" width-request="800" height-request="600">
+<vbox>
+</vbox>
</window>'
# games category ui function
@@ -57,37 +57,69 @@ export local gamesui='
# graphics category ui function
export local graphicsui='
-<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" with-request="800" height-request="600">
-<hbox>
-</hbox>
+<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" width-request="800" height-request="600">
+<vbox>
+</vbox>
</window>'
# internet category ui function
export local internetui='
-<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" with-request="800" height-request="600">
-<hbox>
-</hbox>
+<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" width-request="800" height-request="600">
+<vbox>
+</vbox>
</window>'
# multimedia category ui function
export local multimediaui='
-<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" with-request="800" height-request="600">
-<hbox>
-</hbox>
+<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" width-request="800" height-request="600">
+<vbox>
+</vbox>
</window>'
# office category ui function
export local officeui='
-<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" with-request="800" height-request="600">
-<hbox>
-</hbox>
+<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" width-request="800" height-request="600">
+<vbox>
+<frame Office>
+ <hbox space-expand="true" space-extend="true">
+ <table hscrollbar-policy="1" vscrollbar-policy="1" exported-column="1">
+ <variable>office</variable>
+ <label>Application Category|Application Name|Application Description</label>
+ <item>app-office|abiword|Fully featured yet light and fast cross platform word processor documentation</item>
+ <item>app-office|fet|Opensource school/high-school/university timetable scheduling software</item>
+ <item>app-office|gnucash|A personal finance manager</item>
+ <item>app-office|libreoffice|A full office productivity suite</item>
+ <item>app-office|wps-office|WPS Office is an office productivity suite</item>
+ </table>
+ </hbox>
+ <hbox space-expand="false" space-extend="false">
+ <button space-expand="true" space-extend="true" label-text="install">
+ <label>Install package</label>
+ <action>epkg autoinstall $office|$showdialog</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="uninstall">
+ <label>Uninstall package</label>
+ <action>epkg autoremove $office|$showdialog</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="home">
+ <label>Back home</label>
+ <action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=mainui &</action>
+ <action signal="button-release-event">EXIT:ok</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="exit">
+ <label>Exit</label>
+ <action>EXIT:ok</action>
+ </button>
+ </hbox>
+</frame>
+</vbox>
</window>'
# system category ui function
export local systemui='
-<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" with-request="800" height-request="600">
-<hbox>
-</hbox>
+<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" width-request="800" height-request="600">
+<vbox>
+</vbox>
</window>'
# main ui function
@@ -149,6 +181,8 @@ export local mainui='
</button>
<button tooltip-text="Office">
<label>Office</label>
+ <action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=officeui &</action>
+ <action signal="button-release-event">EXIT:ok</action>
</button>
<button tooltip-text="System Tools">
<label>System Tools</label>