tmux remotes

This commit is contained in:
rob committed 2020-03-16 07:19:00 +01:00
1 parent 85699b42e8
commit be23b69368
2 files changed
+4 -6

No files matched your search

+3 -2
View File
@@ -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]