Skip to content

Commit

Permalink
btop
Browse files Browse the repository at this point in the history
  • Loading branch information
corgan2222 committed Jun 9, 2024
1 parent 6c57da4 commit 1bae638
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
15 changes: 11 additions & 4 deletions home/.dot/.bash_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -623,17 +623,24 @@ alias docker_rm_all_orphaned_volumes='docker volume ls -qf dangling=true | xargs
# docker compose (assumes current directory contains the docker-compose.yml)
alias dc='docker-compose '

# start docker stack defined by docker-compose.yml as deamon
alias dcud='docker-compose up -d'

# start docker stack defined by docker-compose.yml
alias dc_up='docker-compose up -d'
alias dcu='docker-compose up '

# stop docker stack defined by docker-compose.yml
alias dc_down='docker-compose down'
alias dcd='docker-compose down'

# rebuild docker stack
alias dc_rebuild='docker-compose up -d --build'
alias dcr='docker-compose up -d --build'

# watch logs in docker stack
alias dc_logs='watch -n2 "docker-compose logs | tail -f"'
alias dcl='watch -n2 "docker-compose logs | tail -f"'

###########################
# VNC shortcuts
###########################

alias vncServerStop="vncserver -kill :1"
alias vncServerStart="vncserver -geometry 1920x1080 -depth 16 -name raspi4 :1"
Expand Down
9 changes: 9 additions & 0 deletions home/.dot/installer/btop_x86_64.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

cd ~
wget https://github.com/aristocratos/btop/releases/download/v1.3.2/btop-x86_64-linux-musl.tbz
tar -xjf btop-x86_64-linux-musl.tbz
cd btop
bash install.sh
cd ~
rm btop-x86_64-linux-musl.tbz
9 changes: 9 additions & 0 deletions home/.dot/installer/raspi-btop.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

cd ~
wget https://github.com/aristocratos/btop/releases/download/v1.3.2/btop-arm-linux-musleabi.tbz
tar -xjf btop-arm-linux-musleabi.tbz
cd btop
bash install.sh
cd ~
rm btop-arm-linux-musleabi.tbz

0 comments on commit 1bae638

Please sign in to comment.