Commit d557546
Eric Bower
·
2026-09-13 22:43:44 -0400 EDT
parent a7f32e9
refactor: replace nvidia with amdgpu bby
4 files changed,
+14,
-4
M
bin/temp
+5,
-1
| ... | ... | @@ -1,5 +1,9 @@ | |
| 1 | 1 | #!/usr/bin/env bash | |
| 2 | 2 | ||
| 3 | - | echo "CPU: $(sensors coretemp-isa-0000 | awk '/Package id 0/ {print $4}') | GPU: $(nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader)°C" | |
| 3 | + | cpu=$(sensors coretemp-isa-0000 2>/dev/null | awk '/Package id 0/ {print $4}') | |
| 4 | + | gpu=$(sensors amdgpu-* 2>/dev/null | awk '/edge:/ {print $2}') | |
| 5 | + | hotspot=$(sensors amdgpu-* 2>/dev/null | awk '/junction:/ {print $2}') | |
| 6 | + | ||
| 7 | + | echo "CPU: ${cpu} | GPU: ${gpu} (Hotspot: ${hotspot})" | |
| 4 | 8 | ||
| 5 | 9 | # filetype: sh |
+1,
-1
| ... | ... | @@ -21,7 +21,7 @@ export LANG="en_US.UTF-8" | |
| 21 | 21 | export LESS="-FRX" | |
| 22 | 22 | ||
| 23 | 23 | alias pushall='git remote | xargs -I R git push R' | |
| 24 | - | alias sway='XDG_CURRENT_DESKTOP=sway sway --unsupported-gpu' | |
| 24 | + | alias sway='XDG_CURRENT_DESKTOP=sway sway' | |
| 25 | 25 | alias tre='tree -CF --dirsfirst -L 2' | |
| 26 | 26 | alias pp="PA_DIR=$HOME/dev/pico-pass pa" | |
| 27 | 27 | alias logs='ssh pipe sub /pico/log-drain -k | jq -r' |
+1,
-1
| ... | ... | @@ -1,5 +1,5 @@ | |
| 1 | 1 | { | |
| 2 | - | "lastChangelogVersion": "0.84.2", | |
| 2 | + | "lastChangelogVersion": "0.85.1", | |
| 3 | 3 | "packages": [ | |
| 4 | 4 | "npm:@deevus/pi-zmx", | |
| 5 | 5 | "file:~/.pi/agent/extensions/qwen-remote.ts" |
+7,
-1
| ... | ... | @@ -50,6 +50,9 @@ kakoune-lsp | |
| 50 | 50 | kanshi | |
| 51 | 51 | keychain | |
| 52 | 52 | kubectl | |
| 53 | + | lact | |
| 54 | + | lib32-vulkan-mesa-layers | |
| 55 | + | lib32-vulkan-radeon | |
| 53 | 56 | libnotify | |
| 54 | 57 | linux | |
| 55 | 58 | linux-firmware |
| ... | ... | @@ -68,7 +71,6 @@ nmap | |
| 68 | 71 | nodejs | |
| 69 | 72 | noto-fonts-emoji | |
| 70 | 73 | npm | |
| 71 | - | nvidia-open | |
| 72 | 74 | nvtop | |
| 73 | 75 | oath-toolkit | |
| 74 | 76 | obs-studio |