Skip to content

Commit 9efd9c5

Browse files
Add storage quota section to login splash
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 0ba5165 commit 9efd9c5

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

scripts/bodhi-splash

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,11 @@ __bodhi_splash_main() {
304304
_bs_row " Remote SSH setup: ${_cyan}https://rnabioco.github.io/remote-ssh-positron/${_rst}"
305305
}
306306

307+
_bs_quota() {
308+
_bs_row "${_bold}Storage Quota${_rst}"
309+
_bs_row " Check your usage: ${_cyan}quota_check -u \$USER -b${_rst}"
310+
}
311+
307312
_bs_contact_info() {
308313
local contact="$_help_contact"
309314
[[ -n "$_help_email" ]] && contact="${contact} <${_help_email}>"
@@ -333,6 +338,8 @@ __bodhi_splash_main() {
333338
_bs_mid
334339
_bs_positron_vscode
335340
_bs_mid
341+
_bs_quota
342+
_bs_mid
336343
_bs_contact_info
337344
_bs_mid
338345
local _next_maint_str
@@ -349,7 +356,7 @@ __bodhi_splash_main() {
349356
unset -f _bs_now_epoch _bs_today_str _bs_last_thursday_epoch
350357
unset -f _bs_get_next_maintenance _bs_maintenance_banner
351358
unset -f _bs_has_messages _bs_admin_messages
352-
unset -f _bs_header _bs_system_info _bs_interactive_sessions _bs_positron_vscode _bs_contact_info
359+
unset -f _bs_header _bs_system_info _bs_interactive_sessions _bs_positron_vscode _bs_quota _bs_contact_info
353360
}
354361

355362
__bodhi_splash_main "$@"

0 commit comments

Comments
 (0)