dwmbar config changes

This commit is contained in:
wt committed 2024-07-01 18:40:45 +07:00
1 parent f536f23b5e
commit 21e1ac0c61
3 files changed
+6 -6

No files matched your search

+4 -4
View File
@@ -2,13 +2,13 @@
# Prints out the total disk memory and the available memory
PREFIX=' '
PREFIX=' '
get_disk()
{
TOTAL_SIZE=$( df -h --total | tail -1 | awk {'printf $2'})
USED_SIZE=$(df -h --total | tail -1 | awk {'printf $3'})
PERCENTAGE=$(df -h --total | tail -1 | awk {'printf $5'})
TOTAL_SIZE=$( df -h --total | rg 230 | awk {'printf $2'})
USED_SIZE=$(df -h --total | rg 230 | awk {'printf $3'})
PERCENTAGE=$(df -h --total | rg 230 | awk {'printf $5'})
echo "$PREFIX$USED_SIZE/$TOTAL_SIZE ($PERCENTAGE)"
}
+1 -1
View File
@@ -2,7 +2,7 @@
# Prints the total ram and used ram in Mb
PREFIX='󰍜 '
PREFIX='󰘚 '
get_ram()
{