Added the ability to change bar locations. (#257)
* Added the ability to change bar locations. * Update dropdown margins * Make dropdown to bar gap configurable and organized code.
This commit is contained in:
@@ -29,6 +29,17 @@ export const BarSettings = (): Scrollable<Gtk.Widget, Gtk.Widget> => {
|
||||
},
|
||||
'bar-layout-input',
|
||||
),
|
||||
Option({
|
||||
opt: options.theme.bar.floating,
|
||||
title: 'Floating Bar',
|
||||
type: 'boolean',
|
||||
}),
|
||||
Option({
|
||||
opt: options.theme.bar.location,
|
||||
title: 'Location',
|
||||
type: 'enum',
|
||||
enums: ['top', 'bottom'],
|
||||
}),
|
||||
|
||||
/*
|
||||
******************************
|
||||
@@ -69,11 +80,6 @@ export const BarSettings = (): Scrollable<Gtk.Widget, Gtk.Widget> => {
|
||||
title: 'Button Radius',
|
||||
type: 'string',
|
||||
}),
|
||||
Option({
|
||||
opt: options.theme.bar.floating,
|
||||
title: 'Floating Bar',
|
||||
type: 'boolean',
|
||||
}),
|
||||
Option({
|
||||
opt: options.theme.bar.layer,
|
||||
title: 'Layer',
|
||||
@@ -81,6 +87,12 @@ export const BarSettings = (): Scrollable<Gtk.Widget, Gtk.Widget> => {
|
||||
subtitle: 'Layer determines the Z index of your bar.',
|
||||
enums: ['top', 'bottom', 'overlay', 'background'],
|
||||
}),
|
||||
Option({
|
||||
opt: options.theme.bar.dropdownGap,
|
||||
title: 'Dropdown Gap',
|
||||
subtitle: 'The gap between the dropdown and the bar',
|
||||
type: 'string',
|
||||
}),
|
||||
Option({
|
||||
opt: options.theme.bar.margin_top,
|
||||
title: 'Margin Top',
|
||||
|
||||
Reference in New Issue
Block a user