Add mako and update confs

This commit is contained in:
2021-11-10 15:38:52 +01:00
parent 02a9e46f96
commit 6cf171227a
23 changed files with 314 additions and 863 deletions

9
.config/sway/status.sh Executable file
View File

@@ -0,0 +1,9 @@
date_formatted=$(date +'%d/%m/%Y %R')
battery_status=$(acpi -b | awk '{printf "%3d%", substr($4, 1, length($4)-1)}')
ram_status=$(free -m | awk '/Mem/{mem = $3}; END {printf "%5dMB", mem}')
cpu_status=$(top -bn1 | awk '/Cpu/{cpu = 100 - $8}; END {printf "%3d\%", cpu}')
echo "| RAM: ${ram_status} | CPU: $cpu_status | BAT: $battery_status | $date_formatted |"