From 433ee1adaf72b8ed55d03827dfaba7d95f5e1428 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 23 Dec 2016 02:39:48 +0000 Subject: new UI for sisyphus --- libsisyphus | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sisyphus | 79 ++++++------------------------------------------------------ 2 files changed, 87 insertions(+), 72 deletions(-) create mode 100755 libsisyphus diff --git a/libsisyphus b/libsisyphus new file mode 100755 index 0000000..339cc5e --- /dev/null +++ b/libsisyphus @@ -0,0 +1,80 @@ +#!/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 &" + +# main ui functions +export local mainwindow=' + + + + + + + + + pkgname + + + + + + + + + + + + + + + + + + + + + + + + + + + vte1 + echo epkg + + + + + +' diff --git a/sisyphus b/sisyphus index 98058e4..ab7991a 100755 --- a/sisyphus +++ b/sisyphus @@ -2,77 +2,12 @@ # Sisyphus is a simple GUI for epkg, the portage wrapper # It uses gnome-extra/yad, x11-libs/vte && x11-misc/gtkdialog -# Main Author : Ghiunhan Mamut @ RogentOS Development Group +# Main Author : Ghiunhan Mamut @ Redcore Linux Project -export local showdialog="yad --title "sisyphus" --text-info --width 800 --height 600 --center --no-buttons --on-top --sticky --fixed --undecorated --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 &" -export local SISYPHUS=' - - - - - - - - - pkgname - - - - - - - - - - - - - - - - - - - - - - vte1 - echo epkg - - - - - - - - - - -' +source libsisyphus -gtkdialog --space-expand=true --space-fill=true --program=SISYPHUS +main() { + gtkdialog --space-expand=true --space-fill=true --program=mainwindow +} + +main -- cgit v1.2.3