This repository has been archived by the owner on May 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
macos.dhall
85 lines (69 loc) · 2.05 KB
/
macos.dhall
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
let Font = ./font/macos.dhall
let Keys = ./keys/macos.dhall
let Window = ./window/macos.dhall
let Env = ./env.dhall
let Shell = ./shell/macos.dhall
let Scrolling = ./scrolling.dhall
let Debug = ./debug.dhall
let VisualBell = ./visual.dhall
let Opacity = ./opacity.dhall
let MouseBindings = ./mouse_bindings/macos.dhall
let Mouse = ./mouse/macos.dhall
let Cursor = ./cursor.dhall
let Colors = ./colors.dhall
let Misc = ./misc.dhall
let defaultFont =
{ normal = { family = "Menlo", style = "Regular" }
, bold = { family = "Menlo", style = "Bold" }
, italic = { family = "Menlo", style = "Italic" }
, bold_italic = { family = "Menlo", style = "Italic" }
}
let Config =
{ Type =
Misc.Type
⩓ { font : Font.Type
, key_bindings : List Keys.Binding
, window : Window.Schema.Type
, env : Env.Type
, shell : Shell.Type
, scrolling : Scrolling.Type
, debug : Debug.Schema.Type
, bell : VisualBell.Schema.Type
, opacity : Opacity.Type
, mouse_bindings : List MouseBindings.Mbd
, mouse : Mouse.Schema.Type
, cursor : Cursor.Schema.Type
, colors : Colors.Schema.Type
}
, default =
Misc.default
∧ { font = Font::{=} ⫽ defaultFont
, key_bindings = [] : List Keys.Binding
, window = Window.Schema::{=}
, env = Env.default
, shell = Shell.Type
, scrolling = Scrolling::{=}
, debug = Debug.Schema::{=}
, bell = VisualBell.Schema::{=}
, opacity = Opacity::{=}
, mouse = Mouse.Schema::{=}
, mouse_bindings = [] : List MouseBindings.Mbd
, cursor = Cursor.Schema::{=}
, colors = Colors.Schema::{=}
}
}
in { Config
, Font
, Keys
, Window
, Env
, Misc
, Shell
, Scrolling
, Debug
, VisualBell
, MouseBindings
, Mouse
, Cursor
, Colors
}