From 1bae638ed4f40a23c109a9a32a8f5bf874f16874 Mon Sep 17 00:00:00 2001 From: corgan2222 Date: Sun, 9 Jun 2024 08:23:55 +0200 Subject: [PATCH] btop --- home/.dot/.bash_aliases | 15 +++++++++++---- home/.dot/installer/btop_x86_64.sh | 9 +++++++++ home/.dot/installer/raspi-btop.sh | 9 +++++++++ 3 files changed, 29 insertions(+), 4 deletions(-) create mode 100755 home/.dot/installer/btop_x86_64.sh create mode 100755 home/.dot/installer/raspi-btop.sh diff --git a/home/.dot/.bash_aliases b/home/.dot/.bash_aliases index 64f8069..2a82f74 100644 --- a/home/.dot/.bash_aliases +++ b/home/.dot/.bash_aliases @@ -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" diff --git a/home/.dot/installer/btop_x86_64.sh b/home/.dot/installer/btop_x86_64.sh new file mode 100755 index 0000000..00ffa8d --- /dev/null +++ b/home/.dot/installer/btop_x86_64.sh @@ -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 \ No newline at end of file diff --git a/home/.dot/installer/raspi-btop.sh b/home/.dot/installer/raspi-btop.sh new file mode 100755 index 0000000..d054a8f --- /dev/null +++ b/home/.dot/installer/raspi-btop.sh @@ -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 \ No newline at end of file