1
0

default.nix 1.0 KB

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