Added the hyprsunset module (requires hyprland v0.45.0) (#485)
* add sunset module * Implement hyprsunset module. * Update themes * Undo vivids * Fix vivids
This commit is contained in:
@@ -24,6 +24,7 @@ import {
|
||||
Submap,
|
||||
Weather,
|
||||
Power,
|
||||
Hyprsunset,
|
||||
} from './Exports';
|
||||
|
||||
import { BarItemBox as WidgetContainer } from '../shared/barItemBox.js';
|
||||
@@ -64,7 +65,8 @@ type Section =
|
||||
| 'submap'
|
||||
| 'weather'
|
||||
| 'power'
|
||||
| 'systray';
|
||||
| 'systray'
|
||||
| 'hyprsunset';
|
||||
|
||||
type Layout = {
|
||||
left: Section[];
|
||||
@@ -121,6 +123,7 @@ const widget = {
|
||||
submap: (): Button<Child, Attribute> => WidgetContainer(Submap()),
|
||||
weather: (): Button<Child, Attribute> => WidgetContainer(Weather()),
|
||||
power: (): Button<Child, Attribute> => WidgetContainer(Power()),
|
||||
hyprsunset: (): Button<Child, Attribute> => WidgetContainer(Hyprsunset()),
|
||||
};
|
||||
|
||||
type GdkMonitors = {
|
||||
|
||||
@@ -21,6 +21,7 @@ import { Updates } from 'customModules/updates/index';
|
||||
import { Submap } from 'customModules/submap/index';
|
||||
import { Weather } from 'customModules/weather/index';
|
||||
import { Power } from 'customModules/power/index';
|
||||
import { Hyprsunset } from 'customModules/hyprsunset/index';
|
||||
|
||||
export {
|
||||
Menu,
|
||||
@@ -46,4 +47,5 @@ export {
|
||||
Submap,
|
||||
Weather,
|
||||
Power,
|
||||
Hyprsunset,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user