(command.CommandList
  children: [
    (command.AndOr
      ops: [Id.Op_DAmp Id.Op_DPipe]
      children: [
        (C {(Id.Lit_LBracket '[')} {(Id.KW_Bang '!')} {(-z)} {(DQ ($ Id.VSub_Number '$1'))} 
          {(Id.Lit_RBracket ']')}
        )
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name name:mag)
              op: assign_op.Equal
              rhs: {($ Id.VSub_Number '$1')}
              spids: [38]
            )
          ]
        )
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name name:mag)
              op: assign_op.Equal
              rhs: {(2)}
              spids: [43]
            )
          ]
        )
      ]
    )
    (command.ShFunction
      name: fullscreen_xmag_source
      body: 
        (command.BraceGroup
          children: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:geometry)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (command_sub
                        left_token: (Token id:Id.Left_Backtick val:'`' span_id:59)
                        command_list: 
                          (command.CommandList
                            children: [
                              (command.Pipeline
                                children: [
                                  (C {(xwininfo)} {(-root)})
                                  (C {(grep)} {(-E)} {(DQ (geometry))})
                                  (C {(sed)} 
                                    {
                                      (SQ 
                                        (Token
                                          id: Id.Lit_Chars
                                          val: 's/.* \\([0-9]*x[0-9]*\\).*/\\1/'
                                          span_id: 87
                                        )
                                      )
                                    }
                                  )
                                ]
                                negated: F
                              )
                            ]
                          )
                      )
                    }
                  spids: [58]
                )
              ]
            )
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:width)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (command_sub
                        left_token: (Token id:Id.Left_Backtick val:'`' span_id:93)
                        command_list: 
                          (command.CommandList
                            children: [
                              (command.Pipeline
                                children: [
                                  (C {(echo)} {($ Id.VSub_DollarName '$geometry')})
                                  (C {(cut)} {(-dx)} {(-f1)})
                                ]
                                negated: F
                              )
                            ]
                          )
                      )
                    }
                  spids: [92]
                )
              ]
            )
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:height)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (command_sub
                        left_token: (Token id:Id.Left_Backtick val:'`' span_id:111)
                        command_list: 
                          (command.CommandList
                            children: [
                              (command.Pipeline
                                children: [
                                  (C {(echo)} {($ Id.VSub_DollarName '$geometry')})
                                  (C {(cut)} {(-dx)} {(-f2)})
                                ]
                                negated: F
                              )
                            ]
                          )
                      )
                    }
                  spids: [110]
                )
              ]
            )
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:xmag_menu)
                  op: assign_op.Equal
                  rhs: {(20)}
                  spids: [128]
                )
              ]
            )
            (C {(echo)} 
              {
                (command_sub
                  left_token: (Token id:Id.Left_Backtick val:'`' span_id:134)
                  command_list: 
                    (command.CommandList
                      children: [
                        (C {(expr)} {($ Id.VSub_DollarName '$width')} {(/)} 
                          {($ Id.VSub_DollarName '$mag')}
                        )
                      ]
                    )
                ) (x) 
                (command_sub
                  left_token: (Token id:Id.Left_Backtick val:'`' span_id:146)
                  command_list: 
                    (command.CommandList
                      children: [
                        (C {(expr)} 
                          {
                            (word_part.EscapedLiteral
                              token: (Token id:Id.Lit_EscapedChar val:'\\(' span_id:155)
                            )
                          } {($ Id.VSub_DollarName '$height')} {(-)} {($ Id.VSub_DollarName '$xmag_menu')} 
                          {
                            (word_part.EscapedLiteral
                              token: (Token id:Id.Lit_EscapedChar val:'\\)' span_id:163)
                            )
                          } {(/)} {($ Id.VSub_DollarName '$mag')}
                        )
                      ]
                    )
                )
              }
            )
          ]
        )
    )
    (C {(xmag)} {(-source)} 
      {
        (command_sub
          left_token: (Token id:Id.Left_Backtick val:'`' span_id:177)
          command_list: (command.CommandList children:[(C {(fullscreen_xmag_source)})])
        )
      } {(-mag)} {($ Id.VSub_DollarName '$mag')}
    )
  ]
)