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:
Jas Singh
2024-11-12 03:35:27 -08:00
committed by GitHub
parent a7855baf13
commit 6cab0ff4b7
51 changed files with 1546 additions and 1086 deletions

View File

@@ -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 = {

View File

@@ -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,
};