diff options
author | terminaldweller <thabogre@gmail.com> | 2022-01-27 07:14:16 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-01-27 07:14:16 +0000 |
commit | b6e3c49e63324eddd2e56fa7e918821e7a497d33 (patch) | |
tree | 632318e6576e8c8ffeee11c9bae7f7a65a27c181 /lemon/lemonbar.sh | |
parent | updates (diff) | |
download | scripts-b6e3c49e63324eddd2e56fa7e918821e7a497d33.tar.gz scripts-b6e3c49e63324eddd2e56fa7e918821e7a497d33.zip |
updates
Diffstat (limited to '')
-rwxr-xr-x | lemon/lemonbar.sh (renamed from lemonbar.sh) | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lemonbar.sh b/lemon/lemonbar.sh index ebca0b3..79e28ea 100755 --- a/lemonbar.sh +++ b/lemon/lemonbar.sh @@ -1,5 +1,5 @@ -#!/usr/bin/bash -#./lemonbar.sh| lemonbar -f "DejaVu Sans Mono for Powerline:size=11" -g "x16" +#!/usr/bin/env bash +#./lemonbar.sh| lemonbar -f "DejaVuSansMono Nerd Font Mono-12" -g "x16" NORMAL="%{F-}%{B-}" sep_left="" @@ -32,15 +32,15 @@ ROOT_FREE() { echo -n " ROOT:$RESULT" } -EXTRA_FREE() { - RESULT=$("df" | grep "/extra$" | gawk '{print int($4/100000)/10"G"}') - echo -n " EXTRA:$RESULT" +EXT1_FREE() { + RESULT=$("df" | grep "/home/devi/storage/ext1$" | gawk '{print int($4/100000)/10"G"}') + echo -n " EXT1:$RESULT" } DATETIME_SEGMENT="%{B#ff005f5f}%{F#ffcc6666}$sep_left%{B#ffcc6666}%{F#ffeeeeee}$(DATETIME)" MEM_RAM_SEGMENT="%{B#ff0087ff}%{F#ff005f5f}$sep_left%{B#ff005f5f}%{F#ffeeeeee}$(MEM_RAM)" MEM_SWAP_SEGMENT="%{B#ffff5f00}%{F#ff0087ff}$sep_left%{B#ff0087ff}%{F#ffeeeeee}$(MEM_SWAP)" -EXTRA_FREE_SEGMENT="%{B#ff875fd7}%{F#ffff5f00}$sep_left%{B#ffff5f00}%{F#ffeeeeee}$(EXTRA_FREE)" +EXTRA_FREE_SEGMENT="%{B#ff875fd7}%{F#ffff5f00}$sep_left%{B#ffff5f00}%{F#ffeeeeee}$(EXT1_FREE)" HOME_FREE_SEGMENT="%{B#ff5f00ff}%{F#ff875fd7}$sep_left%{B#ff875fd7}%{F#ffeeeeee}$(HOME_FREE)" ROOT_FREE_SEGMENT="%{B#ff000000}%{F#ff5f00ff}$sep_left%{B#ff5f00ff}%{F#ffeeeeee}$(ROOT_FREE)" |