From: Andre Ramnitz Date: Wed, 2 Apr 2025 06:04:53 +0000 (+0200) Subject: upgrayyedd: drill-out teh kdialog interface X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=045d7e433983e5a9bb1440e5af056039e1841f52;p=dotfiles.git upgrayyedd: drill-out teh kdialog interface --- diff --git a/dot-local/bin/kupgrayyedd b/dot-local/bin/kupgrayyedd index 9b37e0d7..33854bcc 100755 --- a/dot-local/bin/kupgrayyedd +++ b/dot-local/bin/kupgrayyedd @@ -2,13 +2,17 @@ swaync-client -cp -sw -choice=$(kdialog --menu "Aktion wählen:" 1 "Portage @world update" 2 "Sync repos and update @world" 3 "Rebuild preserved libs" 4 "Clean-up @world" --default "Portage @world update"); +choice=$(kdialog --geometry 500x360 --menu "Aktion wählen:" 1 "Sync repos and update @world" 2 "Portage @world update" 3 "Rebuild preserved libs" 4 "Clean-up @world" 5 "Build Gentoo kernel" 6 "Build Git kernel" 7 "Clean old kernels" 8 "View log" --default "Portage @world update"); case $choice in - 1) foot -a popup -H ~/.local/bin/upgrayyedd again ;; - 2) foot -a popup -H ~/.local/bin/upgrayyedd refresh ;; + 1) foot -a popup -H ~/.local/bin/upgrayyedd refresh ;; + 2) foot -a popup -H ~/.local/bin/upgrayyedd again ;; 3) foot -a popup -H ~/.local/bin/upgrayyedd preserved ;; - 4) foot -a popup -H ~/.local/bin/upgrayyedd clean ;; + 4) foot -a popup -H ~/.local/bin/upgrayyedd depclean ;; + 5) foot -a popup -H ~/.local/bin/upgrayyedd kbuild-gentoo ;; + 6) foot -a popup -H ~/.local/bin/upgrayyedd kbuild-git ;; + 7) foot -a popup -H ~/.local/bin/upgrayyedd clean-kernels ;; + 8) foot -a popup -H ~/.local/bin/upgrayyedd log ;; *) echo "Failure" esac