Cava Module (#662)
* First version of the cava module * Update cava stuff * Update themes for cava * Update themes * Handle cava visibility when null * Add bar characters in options --------- Co-authored-by: Ed Bennett <ed@dodimead.com> Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
This commit is contained in:
@@ -32,3 +32,6 @@ export const brightnessService = Brightness.get_default();
|
||||
|
||||
import AstalPowerProfiles from 'gi://AstalPowerProfiles?version=0.1';
|
||||
export const powerProfilesService = AstalPowerProfiles.get_default();
|
||||
|
||||
import AstalCava from 'gi://AstalCava';
|
||||
export const cavaService = AstalCava.get_default();
|
||||
|
||||
1
src/lib/types/bar.d.ts
vendored
1
src/lib/types/bar.d.ts
vendored
@@ -33,6 +33,7 @@ export type BarModule = {
|
||||
props?: Widget.ButtonProps;
|
||||
showLabel?: boolean;
|
||||
showLabelBinding?: Binding;
|
||||
showIconBinding?: Binding;
|
||||
hook?: BoxHook;
|
||||
connection?: Binding<Connectable>;
|
||||
};
|
||||
|
||||
3
src/lib/types/options.d.ts
vendored
3
src/lib/types/options.d.ts
vendored
@@ -47,7 +47,8 @@ export type BarModule =
|
||||
| 'power'
|
||||
| 'systray'
|
||||
| 'hypridle'
|
||||
| 'hyprsunset';
|
||||
| 'hyprsunset'
|
||||
| 'cava';
|
||||
|
||||
export type BarLayout = {
|
||||
left: BarModule[];
|
||||
|
||||
Reference in New Issue
Block a user