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:
@@ -12,6 +12,7 @@ import { KbIcon, KbLabelType } from 'lib/types/customModules/kbLayout';
|
||||
import {
|
||||
ActiveWsIndicator,
|
||||
BarButtonStyles,
|
||||
BarLocation,
|
||||
NotificationAnchor,
|
||||
OSDAnchor,
|
||||
OSDOrientation,
|
||||
@@ -145,6 +146,7 @@ const options = mkOptions(OPTIONS, {
|
||||
bar: {
|
||||
scaling: opt(100),
|
||||
floating: opt(false),
|
||||
location: opt<BarLocation>('top'),
|
||||
layer: opt<WindowLayer>('top'),
|
||||
margin_top: opt('0.5em'),
|
||||
opacity: opt(100),
|
||||
@@ -154,6 +156,7 @@ const options = mkOptions(OPTIONS, {
|
||||
outer_spacing: opt('1.6em'),
|
||||
label_spacing: opt('0.5em'),
|
||||
transparent: opt(false),
|
||||
dropdownGap: opt('2.9em'),
|
||||
background: opt(colors.crust),
|
||||
buttons: {
|
||||
style: opt<BarButtonStyles>('default'),
|
||||
|
||||
Reference in New Issue
Block a user