summaryrefslogtreecommitdiff
path: root/modules/home-manager/mangowc/default.nix
blob: fe9843f6da7349aca28fea1818fd7366d725ac8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{ pkgs, ... }:

{
  imports = [
    # ./binds.nix
  ];

  wayland.windowManager.mango = {
    enable = true;

    settings = ''
      animations=0
      layer_animations=0

      borderpx=1
      gappi=0
      gappo=0
      overviewgappi=0
      overviewgappo=0
      smartgaps=0

      tagrule=id:1,layout_name=scroller
      tagrule=id:2,layout_name=tile
      tagrule=id:3,layout_name=tile
      tagrule=id:4,layout_name=tile
      tagrule=id:5,layout_name=tile
      tagrule=id:6,layout_name=tile
      tagrule=id:7,layout_name=tile
      tagrule=id:8,layout_name=tile
      tagrule=id:9,layout_name=tile
      tagrule=id:10,layout_name=tile

      bind=Super,F2,spawn,kitty
      bind=Super,F4,killclient
      bind=Super,m,quit

      bind=Super,1,view,1
      bind=Super,2,view,2
      bind=Super,3,view,3
      bind=Super,4,view,4
      bind=Super,5,view,5
      bind=Super,6,view,6
      bind=Super,7,view,7
      bind=Super,8,view,8
      bind=Super,9,view,9
      bind=Super,10,view,10

      bind=Super,t,setlayout,tile
      bind=Super,x,setlayout,scroller
    '';
  };
}