summary refs log tree commit diff
path: root/mixins
diff options
context:
space:
mode:
Diffstat (limited to 'mixins')
-rw-r--r--mixins/greet.nix32
-rw-r--r--mixins/sway.nix2
2 files changed, 32 insertions, 2 deletions
diff --git a/mixins/greet.nix b/mixins/greet.nix
index fe2c825..2da474b 100644
--- a/mixins/greet.nix
+++ b/mixins/greet.nix
@@ -7,7 +7,37 @@
   user = "tzlil";
 
   users.users.greeter.packages = [pkgs.sway];
-  greet = "${pkgs.greetd.gtkgreet.out}/bin/gtkgreet";
+  greet = "${pkgs.greetd.wlgreet.out}/bin/wlgreet -e ${pkgs.writeText "config.toml" "
+[background]
+red = 0
+green = 0
+blue = 0
+opacity = 0.9
+
+[headline]
+red = 1.0
+green = 1.0
+blue = 1.0
+opacity = 1.0
+
+[prompt]
+red = 1.0
+green = 1.0
+blue = 1.0
+opacity = 1.0
+
+[promptErr]
+red = 1.0
+green = 1.0
+blue = 1.0
+opacity = 1.0
+
+[border]
+red = 1.0
+green = 1.0
+blue = 1.0
+opacity = 1.0
+  "})}";
 
   kiosk = command: "${pkgs.cage.out}/bin/cage -- ${command}";
 in {
diff --git a/mixins/sway.nix b/mixins/sway.nix
index 3345a4c..e559602 100644
--- a/mixins/sway.nix
+++ b/mixins/sway.nix
@@ -58,7 +58,7 @@ in {
         interval = 60
         format = "%a %Y-%m-%d %H:%M"
       '';
-      programs.mako.enable = true;
+      services.mako.enable = true;
       home.packages = with pkgs; [
         grim
         slurp