From be23b69368d621dd8337e9b4cded6770e4eb54eb Mon Sep 17 00:00:00 2001 From: Rob Date: Mon, 16 Mar 2020 07:06:22 +0100 Subject: [PATCH] tmux remotes --- show-disk-usage.sh | 5 +++-- tmux_layout.sh | 5 +---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/show-disk-usage.sh b/show-disk-usage.sh index 6c9b3df..8f46b4b 100755 --- a/show-disk-usage.sh +++ b/show-disk-usage.sh @@ -1,7 +1,8 @@ #!/bin/sh +# für tmux powerline # zeigt nur den noch freien Specher in human readable und percent an für Daten und Programme -df_root=`df /dev/mapper/fedora_localhost--live-root -h --output=avail,pcent | tail -n 1` -df_home=`df /dev/mapper/fedora_localhost--live-home -h --output=avail,pcent | tail -n 1` +df_root=`df /boot -h --output=avail,pcent | tail -n 1` +df_home=`df /home -h --output=avail,pcent | tail -n 1` echo [root$df_root][home$df_home] diff --git a/tmux_layout.sh b/tmux_layout.sh index 2924186..ca772bf 100755 --- a/tmux_layout.sh +++ b/tmux_layout.sh @@ -31,11 +31,8 @@ tmux new-window -n 'code' -d tmux new-window -n 'c3d2' -d #remotes -tmux new-window -n 'gERD' -d -tmux new-window -n 'mole' -d -tmux new-window -n 'esycore' -d +tmux new-window -n 'uberspace' -d tmux new-window -n 'sbz' -d -tmux new-window -n 'paul' -d tmux new-window -n 'bfds' -d tmux attach-session -t prism