dotfiles/.config/noctalia/bar.toml

82 lines
3.7 KiB
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[bar]
order = ["main"] # layer-shell creation order
[bar.default]
position = "top" # top | bottom | left | right
enabled = true
auto_hide = false # slide out after pointer leaves; reveal from edge trigger strip
smart_auto_hide = false # show when the active workspace is empty; hide when it has windows
show_on_workspace_switch = true # with auto_hide: briefly reveal when the active workspace changes
reserve_space = false # reserve compositor exclusive zone / push windows away
layer = "top" # top | overlay; overlay appears above fullscreen apps
thickness = 31 # bar cross-axis size in pixels (height for horizontal, width for vertical)
background_opacity = 1.0 # 0.0 (transparent) to 1.0 (opaque)
border = "outline" # color role or #RRGGBB for the bar outline
border_width = 0.0 # inside outline width in pixels; 0 disables it
shadow = true # cast the global [shell.shadow]
contact_shadow = false # dark gradient between an attached panel and the bar (depth at the seam)
panel_overlap = 1 # logical px an attached panel overlaps the bar edge to hide the seam
radius = 12 # global corner radius fallback
radius_top_left = 12
radius_top_right = 12
radius_bottom_left = 12
radius_bottom_right = 12
concave_edge_corners = true # carve the screen-edge corners inward; requires margin_edge = 0
margin_ends = 100 # inset from each end of the bar along its main axis
margin_edge = 0 # distance from the nearest screen edge (positive values float the bar)
margin_opposite_edge = 0 # extra reserved space on the inward side of the bar (below for top, above for bottom)
padding = 14 # main-axis padding from bar edges to start/end widget sections
widget_spacing = 7 # gap between widgets within a section
hover_highlight = true # softly tint the widget under the mouse pointer with its foreground color
scale = 1.5 # content scale multiplier for icons, spacing, and base text size
font_scale = 1.3 # additional text-only scale multiplier
font_weight = 500 # CSS weight 1001000 (e.g. 400 regular, 700 bold); primary label weight for bar widgets
font_family = "" # typeface for this bar's widgets; empty inherits the global font
# Default capsule style for all widgets on this bar (see Widget Capsule section)
capsule = false
capsule_fill = "surface_variant"
capsule_thickness = 0.76 # capsule size across the bar as a fraction of bar thickness (1.0 fills the bar)
capsule_radius = 8.0 # omit for automatic pill radius
capsule_opacity = 1.0
# capsule_border = "outline" # omit this key for no border by default
start = ["wallpaper", "workspaces","media"]
center = ["clock", "group:c1"]
end = [ "tray",
"group:c1",
"network",
"volume",
"battery",
"control-center",
]
[bar.default.c1]
id = "c1"
members = ["brightness", "notifications", "clipboard", "bluetooth"]
fill = "error"
padding = 6.0
opacity = 0.9
enabled = true
accordion = true # optional: collapse to the first widget, reveal on hover
accordion_direction = "end" # "end" (default) or "start"
widget_spacing = 10 # optional: gap between this group's widgets
# border, foreground, radius, enabled are optional
[bar.default.dead_zone.actions]
left = "panel-toggle control-center"
middle = "exec foot"
scroll_up = "volume-up"
scroll_down = "volume-down"
back = "media previous"
forward = "media next"
[widget.workspaces]