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

@@ -6,6 +6,7 @@ import {
BarButtonStyles,
BarLocation,
BluetoothBatteryState,
BorderLocation,
NotificationAnchor,
OSDAnchor,
OSDOrientation,
@@ -158,6 +159,11 @@ const options = mkOptions(OPTIONS, {
transparent: opt(false),
dropdownGap: opt('2.9em'),
background: opt(colors.crust),
border: {
location: opt<BorderLocation>('none'),
width: opt('0.15em'),
color: opt(colors.lavender),
},
buttons: {
style: opt<BarButtonStyles>('default'),
enableBorders: opt(false),