From e29bad9d89695116525de1afd362ff23a9ae77a5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 24 Dec 2016 13:54:04 +0000 Subject: modularize user interfaces --- accesoriesui.sh | 36 ++++++++ gamesui.sh | 48 ++++++++++ graphicsui.sh | 8 ++ internetui.sh | 8 ++ libsisyphus | 267 -------------------------------------------------------- libsisyphus.sh | 96 ++++++++++++++++++++ multimediaui.sh | 37 ++++++++ officeui.sh | 41 +++++++++ sisyphus | 3 +- systemui.sh | 8 ++ 10 files changed, 284 insertions(+), 268 deletions(-) create mode 100755 accesoriesui.sh create mode 100755 gamesui.sh create mode 100755 graphicsui.sh create mode 100755 internetui.sh delete mode 100755 libsisyphus create mode 100755 libsisyphus.sh create mode 100755 multimediaui.sh create mode 100755 officeui.sh create mode 100755 systemui.sh diff --git a/accesoriesui.sh b/accesoriesui.sh new file mode 100755 index 0000000..5d34689 --- /dev/null +++ b/accesoriesui.sh @@ -0,0 +1,36 @@ +#!/usr/bin/env bash + +# create accesories user interface +export local accesoriesui=' + + + + + + accesories + + app-admin|keepassx|Qt password manager compatible with its Win32 and Pocket PC versions +
+
+ + + + + + + +
+
' diff --git a/gamesui.sh b/gamesui.sh new file mode 100755 index 0000000..f1f3af0 --- /dev/null +++ b/gamesui.sh @@ -0,0 +1,48 @@ +#!/usr/bin/env bash + +# create games user interface +export local gamesui=' + + + + + + game + + app-emulation|playonlinux|Set of scripts to easily install and use Windows games and software + app-emulation|steam|Digital distribution client bootstrap package + games-action|armagetronad|Fast-paced 3D lightcycle game based on Tron + games-action|chromium-bsu|Chromium B.S.U. - an arcade game + games-action|supertuxkart|A kart racing game starring Tux, the linux penguin (TuxKart fork) + games-action|teeworlds|Online multi-player platform 2D shooter + games-board|aisleriot|A collection of solitaire card games for GNOME + games-emulation|dosbox|DOS Emulator + games-emulation|zsnes|SNES (Super Nintendo) emulator that uses x86 assembly + games-fps|urbanterror|Hollywood tactical shooter based on the ioquake3 engine + games-fps|xonotic|Fork of Nexuiz, Deathmatch FPS based on DarkPlaces, an advanced Quake 1 engine + games-simulation|openttd|OpenTTD is a clone of Transport Tycoon Deluxe + games-strategy|0ad|Cross-platform, 3D and historically-based real-time strategy game +
+
+ + + + + + + +
+
' diff --git a/graphicsui.sh b/graphicsui.sh new file mode 100755 index 0000000..8270773 --- /dev/null +++ b/graphicsui.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +# create graphics user interface +export local graphicsui=' + + + +' diff --git a/internetui.sh b/internetui.sh new file mode 100755 index 0000000..d46032d --- /dev/null +++ b/internetui.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +# create internet user interface +export local internetui=' + + + +' diff --git a/libsisyphus b/libsisyphus deleted file mode 100755 index e838fb6..0000000 --- a/libsisyphus +++ /dev/null @@ -1,267 +0,0 @@ -#!/usr/bin/env bash - -# dialog/progress variables -export local showdialog="yad --title "sisyphus" --text-info --width 800 --height 600 --center --no-buttons --on-top --sticky --fixed --skip-taskbar --listen --tail &" -export local showprogress="yad --title "sisyphus" --progress --pulsate --width 800 --center --no-buttons --on-top --sticky --fixed --undecorated --skip-taskbar --auto-close &" - -# accesories category ui function -export local accesoriesui=' - - - - - - accesories - - app-admin|keepassx|Qt password manager compatible with its Win32 and Pocket PC versions -
-
- - - - - - - -
-
' - -# games category ui function -export local gamesui=' - - - - - - game - - app-emulation|playonlinux|Set of scripts to easily install and use Windows games and software - app-emulation|steam|Digital distribution client bootstrap package - games-action|armagetronad|Fast-paced 3D lightcycle game based on Tron - games-action|chromium-bsu|Chromium B.S.U. - an arcade game - games-action|supertuxkart|A kart racing game starring Tux, the linux penguin (TuxKart fork) - games-action|teeworlds|Online multi-player platform 2D shooter - games-board|aisleriot|A collection of solitaire card games for GNOME - games-emulation|dosbox|DOS Emulator - games-emulation|zsnes|SNES (Super Nintendo) emulator that uses x86 assembly - games-fps|urbanterror|Hollywood tactical shooter based on the ioquake3 engine - games-fps|xonotic|Fork of Nexuiz, Deathmatch FPS based on DarkPlaces, an advanced Quake 1 engine - games-simulation|openttd|OpenTTD is a clone of Transport Tycoon Deluxe - games-strategy|0ad|Cross-platform, 3D and historically-based real-time strategy game -
-
- - - - - - - -
-
' - -# graphics category ui function -export local graphicsui=' - - - -' - -# internet category ui function -export local internetui=' - - - -' - -# multimedia category ui function -export local multimediaui=' - - - - - - multimedia - - media-tv|tv-maxe|Program to view free channels -
-
- - - - - - - - -
-
' - -# office category ui function -export local officeui=' - - - - - - office - - app-office|abiword|Fully featured yet light and fast cross platform word processor documentation - app-office|fet|Opensource school/high-school/university timetable scheduling software - app-office|gnucash|A personal finance manager - app-office|libreoffice|A full office productivity suite - app-office|wps-office|WPS Office is an office productivity suite - app-text|qpdfview|A tabbed document viewer -
-
- - - - - - - -
-
' - -# system category ui function -export local systemui=' - - - -' - -# main ui function -export local mainui=' - - - - - - - - - pkgname - - - - - - - - - - - - - - - - - - - - - - - - - - - vte1 - echo epkg - - - - - -' diff --git a/libsisyphus.sh b/libsisyphus.sh new file mode 100755 index 0000000..41e6b43 --- /dev/null +++ b/libsisyphus.sh @@ -0,0 +1,96 @@ +#!/usr/bin/env bash + +# export yad worker variable +export local showdialog="yad --title "sisyphus" --text-info --width 800 --height 600 --center --no-buttons --on-top --sticky --fixed --skip-taskbar --listen --tail &" + +# import user interfaces +source accesoriesui.sh +source gamesui.sh +source graphicsui.sh +source internetui.sh +source multimediaui.sh +source officeui.sh +source systemui.sh + +# create main user interface +export local mainui=' + + + + + + + + + pkgname + + + + + + + + + + + + + + + + + + + + + + + + + + + vte1 + echo epkg + + + + + +' diff --git a/multimediaui.sh b/multimediaui.sh new file mode 100755 index 0000000..dc59493 --- /dev/null +++ b/multimediaui.sh @@ -0,0 +1,37 @@ +#!/usr/bin/env bash + +# create multimedia user interface +export local multimediaui=' + + + + + + multimedia + + media-tv|tv-maxe|Program to view free channels +
+
+ + + + + + + + +
+
' diff --git a/officeui.sh b/officeui.sh new file mode 100755 index 0000000..03ee543 --- /dev/null +++ b/officeui.sh @@ -0,0 +1,41 @@ +#!/usr/bin/env bash + +# create office user interface +export local officeui=' + + + + + + office + + app-office|abiword|Fully featured yet light and fast cross platform word processor documentation + app-office|fet|Opensource school/high-school/university timetable scheduling software + app-office|gnucash|A personal finance manager + app-office|libreoffice|A full office productivity suite + app-office|wps-office|WPS Office is an office productivity suite + app-text|qpdfview|A tabbed document viewer +
+
+ + + + + + + +
+
' diff --git a/sisyphus b/sisyphus index a1b872d..3468889 100755 --- a/sisyphus +++ b/sisyphus @@ -4,7 +4,8 @@ # It uses gnome-extra/yad, x11-libs/vte && x11-misc/gtkdialog # Main Author : Ghiunhan Mamut @ Redcore Linux Project -source libsisyphus +# import main user interface +source libsisyphus.sh main() { gtkdialog --space-expand=true --space-fill=true --program=mainui & diff --git a/systemui.sh b/systemui.sh new file mode 100755 index 0000000..5fc4fe7 --- /dev/null +++ b/systemui.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +# create system user interface +export local systemui=' + + + +' -- cgit v1.2.3