add niri and update nvim config

This commit is contained in:
fbachus
2026-01-22 22:54:47 +01:00
parent 8a6093de74
commit 3fdadd648b
208 changed files with 6922 additions and 255 deletions

View File

@@ -1,11 +1,12 @@
function battery_capacity
cd /sys/class/power_supply/
pushd /sys/class/power_supply/
for dir in ( ls | rg BAT | cut -d" " -f1)
cd $dir &&
pushd $dir &&
cat energy_full | read x &&
cat energy_full_design | read y &&
echo "capacity % of $dir compared to design capacity"
kalker $x/$y &&
cd ..
popd
end
popd
end