mirror of
https://github.com/stornic56/debianito-post-install.git
synced 2026-07-16 05:49:49 +00:00
clean TUI core
- Stripped forced-scrollbar hack from _menu and _checklist - Eliminated TUI_ANCHO_REFORZADO overflow across 9 files - Removed redundant _inst() function globally - Added dynamic list height calculation for checklists - Introduced Desktop & Display menu (Option 12) - Fixed non-free-firmware false positive in repo detection - Restored terminal transparency for apt/vainfo output"
This commit is contained in:
+6
-8
@@ -56,14 +56,12 @@ _swap_recommend_gb() {
|
||||
# ── Menu options ──
|
||||
|
||||
_swap_current_status() {
|
||||
echo "── Current swap ──"
|
||||
sudo swapon --show 2>/dev/null || echo "(none active)"
|
||||
echo ""
|
||||
echo "swappiness: $(cat /proc/sys/vm/swappiness)"
|
||||
echo ""
|
||||
echo "fstab swap entries:"
|
||||
grep -E 'swap|SWAP' /etc/fstab 2>/dev/null || echo "(none in fstab)"
|
||||
_pause
|
||||
local info="── Current swap ──\n"
|
||||
info+="$(sudo swapon --show 2>/dev/null || echo '(none active)')\n\n"
|
||||
info+="swappiness: $(cat /proc/sys/vm/swappiness)\n\n"
|
||||
info+="fstab swap entries:\n"
|
||||
info+="$(grep -E 'swap|SWAP' /etc/fstab 2>/dev/null || echo '(none in fstab)')"
|
||||
_msg "Swap Status" "$info" 14 65
|
||||
}
|
||||
|
||||
_swap_create_file() {
|
||||
|
||||
Reference in New Issue
Block a user