Modernize i3 setup: alacritty, dunst, rofi, i3blocks, blurlock, picom updates

This commit is contained in:
2026-02-15 06:05:55 +01:00
parent a4dad1f508
commit 0b9647b407
17 changed files with 139 additions and 73 deletions

View File

@@ -1,6 +1,8 @@
#!/bin/bash
MEM_STAT=$(free -m | grep Mem | awk '{print $2,$3}')
MEM_TOTAL_MB=${MEM_STAT%% *}
MEM_USED_MB=${MEM_STAT##* }
MEM_USED_GB=$(echo "scale=2;$MEM_USED_MB/1024" | bc -l)
echo "$MEM_USED_GB GB"
MEM_TOTAL_GB=$(echo "scale=1;$MEM_TOTAL_MB/1024" | bc -l)
MEM_USED_GB=$(echo "scale=1;$MEM_USED_MB/1024" | bc -l)
echo "${MEM_USED_GB}/${MEM_TOTAL_GB} GB"