diff options
author | tzlil <tzlils@protonmail.com> | 2023-03-23 15:12:31 +0200 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2023-03-23 15:12:31 +0200 |
commit | de6461f9adf9b46c15b7f608290a1c8a35ebc829 (patch) | |
tree | 38a9a32ac38c81898f331886760ea5396275cb3b /mixins | |
parent | b13bc7eee160922057992a21198897b580a35e8e (diff) |
add wlgreet config
Diffstat (limited to 'mixins')
-rw-r--r-- | mixins/greet.nix | 32 | ||||
-rw-r--r-- | mixins/sway.nix | 2 |
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 |