diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2016-12-25 03:23:59 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2016-12-25 03:23:59 +0000 |
commit | 0845fbc5c4a54c138dac811db46f490071cb7bae (patch) | |
tree | 8dd6d9e578ad53b3a37189c732dc5b072a36a90a /libsisyphus.sh | |
parent | 4c7084ac5674bee61b3b34f72f516e66158017d2 (diff) |
revert to yad
Diffstat (limited to 'libsisyphus.sh')
-rwxr-xr-x | libsisyphus.sh | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/libsisyphus.sh b/libsisyphus.sh index 6b45512..5fc6386 100755 --- a/libsisyphus.sh +++ b/libsisyphus.sh @@ -1,8 +1,7 @@ #!/usr/bin/env bash -# export xterm flags -export local showprogress="xterm -maximized -e" -export local showresults="xterm -maximized -hold -e" +# export dialog flags +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 /usr/lib64/sisyphus/accesoriesui.sh @@ -32,23 +31,23 @@ export local mainui=' <hbox space-expand="false" space-extend="false"> <button space-expand="true" space-extend="true" tooltip-text="Search package(s)"> <input file>/usr/share/sisyphus/search.svg</input> - <action>$showresults epkg search $pkgname</action> + <action>epkg search $pkgname|$showdialog</action> </button> <button space-expand="true" space-extend="true" tooltip-text="Install package(s)"> <input file>/usr/share/sisyphus/install.svg</input> - <action>$showprogress epkg autoinstall $pkgname</action> + <action>epkg autoinstall $pkgname|$showdialog</action> </button> <button space-expand="true" space-extend="true" tooltip-text="Uninstall package(s)"> <input file>/usr/share/sisyphus/remove.svg</input> - <action>$showprogress epkg autoremove $pkgname</action> + <action>epkg autoremove $pkgname|$showdialog</action> </button> <button space-expand="true" space-extend="true" tooltip-text="Upgrade system"> <input file>/usr/share/sisyphus/upgrade.svg</input> - <action>$showprogress epkg autoupgrade</action> + <action>epkg autoupgrade|$showdialog</action> </button> <button space-expand="true" space-extend="true" tooltip-text="Remove orphan packages(s) aka no longer needed"> <input file>/usr/share/sisyphus/purge.svg</input> - <action>$showprogress epkg autoclean</action> + <action>epkg autoclean|$showdialog</action> </button> </hbox> <hseparator space-expand="true" space-extend="true"></hseparator> |