feat: save i3 layout and auto load it

This commit is contained in:
Ryan Yin
2023-06-17 23:24:19 +08:00
parent d53ed4ef7e
commit dae0504f5c
7 changed files with 165 additions and 21 deletions

View File

@@ -65,6 +65,11 @@ border_bottom=0
border_left=0
[cpu_stats]
full_text=
command=~/.config/i3/scripts/restore-idols-monitor.sh
[cpu_stats]
command=(mpstat 1 1 | grep Average | awk '{ printf "%04.1f<span color=\"#ff5555\">%</span>", (100 - $12) }') && (sensors | grep 'Package id 0:\|Tdie' | grep ':[ ]*+[0-9]*.[0-9]*' -o | awk '{ printf "%s<span color=\"#ff5555\">°C</span>\n", $2 }')
interval=2