More refactoring and added hyprlock

This commit is contained in:
marc
2024-12-03 22:57:56 +01:00
parent a5cd3713e7
commit 2af075c7dd
9 changed files with 170 additions and 75 deletions

View File

@@ -3,9 +3,6 @@
let
cfg = config.samfelag.modules.desktop.tools.eww;
hyprCfg = config.samfelag.modules.desktop.wm.hyprland;
# Paths
paths = {
};
in {
options.samfelag.modules.desktop.tools.eww = {
@@ -29,6 +26,11 @@ in {
hm.xdg.configFile."eww/widgets".source = ../../../config/eww/widgets;
hm.xdg.configFile."eww/scripts".source = ../../../config/eww/scripts;
# - Execute on startup -----------------------
hm.wayland.windowManager.hyprland.settings.exec-once = lib.mkIf hyprCfg.enable [
"eww open top-bar"
];
# - Themeing ---------------------------------
hm.xdg.configFile."eww/colour-scheme.scss".text = ''
$base00: #${config.colorScheme.palette.base00};