Skip to content

Commit

Permalink
reworked to ensure gui apps work:q
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrf45 committed Dec 5, 2024
1 parent 798dcb5 commit 1a9f2e3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
6 changes: 3 additions & 3 deletions script/aegis
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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
Expand Down
12 changes: 5 additions & 7 deletions sources/0-base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions sources/3-home.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1a9f2e3

Please sign in to comment.