mirror of
https://github.com/agresdominik/dotfiles.git
synced 2026-04-21 18:05:50 +00:00
Update to dotfiles
This commit is contained in:
+7
-2
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user