summaryrefslogtreecommitdiff
path: root/common/modules/matugen
diff options
context:
space:
mode:
authorbrustybee <bee@4d2.org>2026-03-11 13:48:40 +0530
committerbrustybee <bee@4d2.org>2026-03-11 13:48:40 +0530
commit83f0f303a95277171b5f0d059959af9f4116cdb1 (patch)
tree483f5eb7b623290977154e367dc4cde9d72a5dc1 /common/modules/matugen
parent6d8eec22cddf0be0c190fb06c88f9fd9e3838757 (diff)
add swaylock and swayidle and avoid x11 and wayland services clash
Diffstat (limited to 'common/modules/matugen')
-rw-r--r--common/modules/matugen/default.nix2
-rw-r--r--common/modules/matugen/templates/matugen-swaylock.nix8
2 files changed, 5 insertions, 5 deletions
diff --git a/common/modules/matugen/default.nix b/common/modules/matugen/default.nix
index 5a16265..f52414c 100644
--- a/common/modules/matugen/default.nix
+++ b/common/modules/matugen/default.nix
@@ -108,7 +108,7 @@ in
output_path = '~/.config/zathura/matugen'
''}
- ${lib.optionalString config.programs.swaylock.enable ''
+ ${lib.optionalString config.beeMods.mango.enable ''
[templates.swaylock]
input_path = '~/.config/matugen/templates/swaylock-colors'
output_path = '~/.config/swaylock/swaylock-colors'
diff --git a/common/modules/matugen/templates/matugen-swaylock.nix b/common/modules/matugen/templates/matugen-swaylock.nix
index 19514cf..723c94e 100644
--- a/common/modules/matugen/templates/matugen-swaylock.nix
+++ b/common/modules/matugen/templates/matugen-swaylock.nix
@@ -5,14 +5,14 @@
...
}:
{
- config = lib.mkIf config.programs.swaylock.enable {
+ config = lib.mkIf config.beeMods.mango.enable {
xdg.configFile."matugen/templates/swaylock-colors" = {
text = ''
- # --- Swaylock Config (Moved from Nix settings) ---
show-failed-attempts
- indicator-radius=100
- indicator-thickness=7
+ indicator-radius=70
+ indicator-thickness=9
line-uses-inside
+ image={{image}}
# --- Base Colors ---
color={{colors.background.default.hex}}