Setup status bar for laptop

Export laptop packages.
This commit is contained in:
2019-04-25 05:29:39 -04:00
parent a4e353ea4c
commit ab6887fe03
7 changed files with 314 additions and 45 deletions

View File

@@ -5,5 +5,7 @@ round()
echo $(printf %.$2f $(echo "scale=$2;(((10^$2)*$1)+0.5)/(10^$2)" | bc))
};
. "/home/kevin/.cache/wal/colors.sh"
cur_bl=$(xbacklight -get)
echo "$(round "$cur_bl" 0)%"
# echo "$(round "$cur_bl" 0)%"
printf "$(round "$cur_bl" 0)\n\n%s\n" "$color7"