diff options
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt')
-rw-r--r-- | src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt b/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt index fa4e66c..832fae6 100644 --- a/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt +++ b/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt @@ -76,6 +76,12 @@ class DulkirConfig { .setSaveConsumer { newValue -> configOptions.blockOutlineColor = newValue } .build() ) + general.addEntry( + entryBuilder.mkToggle(Text.literal("AbiPhone DND"), configOptions::abiPhoneDND) + ) + general.addEntry( + entryBuilder.mkToggle(Text.literal("AbiPhone Caller ID"), configOptions::abiPhoneCallerID) + ) val shortcuts = builder.getOrCreateCategory(Text.literal("Shortcuts")) shortcuts.addEntry( @@ -109,7 +115,9 @@ class DulkirConfig { var dynamicKey: InputUtil.Key = UNKNOWN_KEY, var customBlockOutlines: Boolean = false, var blockOutlineThickness: Int = 3, - var blockOutlineColor: Int = 0xFFFFFF + var blockOutlineColor: Int = 0xFFFFFF, + var abiPhoneDND: Boolean = false, + var abiPhoneCallerID: Boolean = false ) @Serializable @@ -153,5 +161,4 @@ class DulkirConfig { } } } - }
\ No newline at end of file |