Update to dotfiles

This commit is contained in:
2025-11-12 14:23:45 +01:00
parent 73d5a0d548
commit d7b760d93e
13 changed files with 106 additions and 5 deletions
+7 -2
View File
@@ -7,6 +7,11 @@ color=#00b894
command=echo "[$USER@$HOSTNAME ~]"
interval=once
[homelab]
command=/home/agres/.config/i3/scripts/lab.sh
interval=60
label=LAB:
[batteries_mouse]
command=/home/agres/.config/i3/scripts/mouse_battery.sh
interval=60
@@ -16,7 +21,7 @@ command=/home/agres/.config/i3/scripts/keyboard_battery.sh
interval=60
[cpu]
command=sh -c 'usage=$(mpstat 1 1 | awk "/Average/ {print 100 - \$NF}"); temp=$(sensors | awk "/^Tctl:/ {gsub(/[+°]C/, \"\", \$2); print \$2; exit}"); temp=${temp#+}; printf "%s%% %s°C\n" "$usage" "$temp"'
command=/home/agres/.config/i3/scripts/cpu_usage.sh
interval=5
label=CPU:
@@ -26,7 +31,7 @@ interval=5
label=GPU:
[mem]
command=free -h | awk '/^Mem/ {print $3 "/" $2}'
command=/home/agres/.config/i3/scripts/mem_usage.sh
interval=10
label=MEM: