feat: make music label more dynamically configurable (#389)
* feat: make music lable more dynamically configurable * fix: move seekbar above controls * fix: add menu for media * fix: add menu for media * fix: add menu for media * Organize media player code * fix: revert back controls position * Delete pnpm-lock.yaml * Update options.ts * Update widget/settings/pages/config/bar/index.ts * fix: merge changes broken --------- Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
This commit is contained in:
@@ -941,7 +941,7 @@ const options = mkOptions(OPTIONS, {
|
||||
scrollDown: opt(''),
|
||||
},
|
||||
media: {
|
||||
show_artist: opt(false),
|
||||
format: opt('{artist: - }{title}'),
|
||||
truncation: opt(true),
|
||||
show_label: opt(true),
|
||||
truncation_size: opt(30),
|
||||
@@ -1062,6 +1062,10 @@ const options = mkOptions(OPTIONS, {
|
||||
menus: {
|
||||
transition: opt<Transition>('crossfade'),
|
||||
transitionTime: opt(200),
|
||||
media: {
|
||||
hideAuthor: opt(false),
|
||||
hideAlbum: opt(false),
|
||||
},
|
||||
bluetooth: {
|
||||
showBattery: opt(false),
|
||||
batteryState: opt<BluetoothBatteryState>('connected'),
|
||||
|
||||
Reference in New Issue
Block a user