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:
@@ -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',
|
||||
}),
|
||||
|
||||
/*
|
||||
******************************
|
||||
|
||||
@@ -33,6 +33,11 @@ export const BarTheme = (): Scrollable<Child, Attribute> => {
|
||||
min: 0,
|
||||
max: 100,
|
||||
}),
|
||||
Option({
|
||||
opt: options.theme.bar.border.color,
|
||||
title: 'Bar Border Color',
|
||||
type: 'color',
|
||||
}),
|
||||
Option({
|
||||
opt: options.theme.bar.buttons.opacity,
|
||||
title: 'Button Opacity',
|
||||
|
||||
Reference in New Issue
Block a user