feat: show live battery charge by default

This commit is contained in:
Valdemar Lorenzen
2026-10-12 12:02:10 +02:00
parent 0d3fbc01f8
commit 8c6a050171
11 changed files with 746 additions and 41 deletions
+1 -2
View File
@@ -7,7 +7,7 @@ Vamp.configure do |config|
config.file_explorer_side = "right"
config.file_explorer_view = "tree"
config.file_picker_view = "tree"
# Status above, tabs below; either bar accepts all segments and style options.
# Status above, tabs and live battery below; either bar accepts all segments.
config.bar.top = {
left: [:mode, :path, :language, :diagnostics, :selections, :count, :pending, :buffer],
center: [], right: [:position],
@@ -22,7 +22,6 @@ Vamp.configure do |config|
},
battery: { padding: 1, leading_edge: "░▒▓", trailing_edge: "" }
}
config.labels = { battery: "bat 38%" } # Static example; plugins update via editor.label(name, text)
config.bind "ctrl+j", config.core.down, mode: config.modes.selection
config.bind "ctrl+k", config.core.up, mode: config.modes.selection
config.plugin "plugins/greeting.rb"