From 1a9f2e3c93db1958ee1c627e34acc8387ee3f245 Mon Sep 17 00:00:00 2001 From: alexrf45 Date: Wed, 4 Dec 2024 20:41:08 -0500 Subject: [PATCH] reworked to ensure gui apps work:q --- script/aegis | 6 +++--- sources/0-base.sh | 12 +++++------- sources/3-home.sh | 2 -- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/script/aegis b/script/aegis index 60d15f5..9c4b5d8 100755 --- a/script/aegis +++ b/script/aegis @@ -29,7 +29,7 @@ start_container() { --cap-add=CAP_SYS_TIME \ --device=/dev/dri:/dev/dri \ -e "DISPLAY=$DISPLAY" -e DOMAIN=$DOMAIN \ - -e TARGET=$project -e IP=$IP -e TZ=$TIME_ZONE -e NAME=$project \ + -e TARGET=$project -e IP=$IP -e TZ=$TZ -e NAME=$project \ -v $(pwd)/.aegis-logs:$HOME/.logs:rw -v $(pwd):/$project \ -v $HOME/.Xauthority:$HOME/.Xauthority:ro \ -v /tmp/.X11-unix:/tmp/.X11-unix \ @@ -82,8 +82,8 @@ pull() { show_help() { echo 'aegis' | figlet -f shadow | lolcat && gum style \ - --foreground $FOREGROUND --border-foreground $BORDER_FOREGROUND --border double \ - --align left --width 85 --margin "1 2" --bold --padding "1 2" \ + --foreground $FOREGROUND --border-foreground $BORDER_FOREGROUND --border rounded \ + --align left --width 50 --margin "1 2" --bold --padding "1 2" \ ' aegis start - start a container aegis stop - stop a container diff --git a/sources/0-base.sh b/sources/0-base.sh index bef65ce..47b02c6 100644 --- a/sources/0-base.sh +++ b/sources/0-base.sh @@ -3,11 +3,9 @@ base() { sudo apt-get install -y \ wget curl man git lolcat \ - figlet tmux mousepad firefox-esr\ - hexcurse file ruby ruby-dev \ + figlet tmux mousepad firefox-esr hexcurse file ruby ruby-dev \ vim nano p7zip-full kali-themes \ - djvulibre-bin python3-pip openssh-client openssl traceroute\ - python3-virtualenv libpcap-dev \ + djvulibre-bin python3-pip openssh-client openssl traceroute python3-virtualenv libpcap-dev \ jq xpdf pipx man-db exploitdb \ rpcbind nfs-common feh cmake \ ntp ntpdate bash-completion zsh bat mkcert \ @@ -48,9 +46,9 @@ osint_tools() { } slim_kali() { - sudo apt-get -y autoclean && \ - sudo apt-get -y autoremove && \ - sudo rm -rf /var/lib/apt/lists/* \ + sudo apt-get -y autoclean && + sudo apt-get -y autoremove && + sudo rm -rf /var/lib/apt/lists/* } base diff --git a/sources/3-home.sh b/sources/3-home.sh index b93d7a8..c7c539a 100644 --- a/sources/3-home.sh +++ b/sources/3-home.sh @@ -32,6 +32,4 @@ cp /home/kali/resources/zsh/aliases $HOME/.zsh/aliases cp /home/kali/resources/zsh/.zprofile $HOME/.zprofile -curl -O https://starship.rs/install.sh && chmod +x install.sh && ./install.sh --yes -b ~/.local/bin && rm install.sh - rm $HOME/fzf.tar.gz