changes for plasma wayland and firefox css

This commit is contained in:
Chris Cochrun 2022-07-07 06:12:33 -05:00
parent bf0de64317
commit 9bb3bceeda
7 changed files with 12 additions and 14 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Get the percentage of used memory and print it
read used total <<< $(free -m | awk '/Mem/{printf $2" "$3}')
@ -7,5 +7,6 @@ percent=$(bc -l <<< "100 * $total / $used")
mem=$(awk -v u=$used -v t=$total -v p=$percent 'BEGIN {printf "%sMi/%sMi %.1f% ", t, u, p}'| awk '{printf $2}')
echo "$mem | color=#9aedfe font='VictorMono Nerd Font' size=11"
echo "$mem"
# echo " $mem | color=#9aedfe font='VictorMono Nerd Font' size=11"
# echo " $mem | color=#007687 font='VictorMono Nerd Font' size=11"