1
0

default.nix 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. { config, pkgs, lib, inputs, host, ... }:
  2. {
  3. imports = [
  4. inputs.mangowm.hmModules.mango
  5. #./bind.nix
  6. ];
  7. wayland.windowManager.mango = {
  8. enable = true;
  9. settings = {
  10. blur = 1;
  11. blur_optimized = 1;
  12. blur_params = {
  13. radius = 5;
  14. num_passes = 2;
  15. };
  16. border_radius = 6;
  17. focused_opacity = 1.0;
  18. animations = 1;
  19. animation_type_open = "slide";
  20. animation_type_close = "slide";
  21. animation_duration_open = 400;
  22. animation_duration_close = 800;
  23. animation_curve = {
  24. open = "0.46,1.0,0.29,1";
  25. close = "0.08,0.92,0,1";
  26. };
  27. bind = [
  28. "SUPER,r,reload_config"
  29. "Alt,space,spawn,rofi -show drun"
  30. "Alt,Return,spawn,alacritty"
  31. "ALT,R,setkeymode,resize"
  32. ];
  33. tagrule = [
  34. "id:1,layout_name:tile"
  35. "id:2,layout_name:scroller"
  36. ];
  37. keymode = {
  38. resize = {
  39. bind = [
  40. "NONE,Left,resizewin,-10,0"
  41. "NONE,Escape,setkeymode,default"
  42. ];
  43. };
  44. };
  45. };
  46. };
  47. }