Added the ability to enable borders for the bar. (#428)

* Added the ability to configure a border for the bar.

* Added the right color for configs
This commit is contained in:
Jas Singh
2024-11-03 02:09:13 -08:00
committed by GitHub
parent 16457ad641
commit 9287e1d6a4
49 changed files with 490 additions and 395 deletions

View File

@@ -54,10 +54,27 @@ export const BarSettings = (): Scrollable<Gtk.Widget, Gtk.Widget> => {
}),
/*
******************************
* SPACING *
* GENERAL *
******************************
*/
Header('Spacing'),
Header('General'),
Option({
opt: options.theme.bar.border.location,
title: 'Bar Border Location',
type: 'enum',
enums: ['none', 'full', 'top', 'right', 'bottom', 'left', 'horizontal', 'vertical'],
}),
Option({
opt: options.theme.bar.border.width,
title: 'Bar Border Width',
type: 'string',
}),
Option({
opt: options.theme.bar.border_radius,
title: 'Border Radius',
subtitle: 'Only applies if floating is enabled',
type: 'string',
}),
Option({
opt: options.theme.bar.outer_spacing,
title: 'Outer Spacing',
@@ -122,12 +139,6 @@ export const BarSettings = (): Scrollable<Gtk.Widget, Gtk.Widget> => {
subtitle: 'Only applies if floating is enabled',
type: 'string',
}),
Option({
opt: options.theme.bar.border_radius,
title: 'Border Radius',
subtitle: 'Only applies if floating is enabled',
type: 'string',
}),
/*
******************************