Skip to content
Open
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
b2d0e3c
Add options to change screen brightness
tucho Oct 6, 2024
9065da1
Create top level options for sections of the configuration screen
tucho Oct 6, 2024
ddcfec3
Reformat the mkRenamedoptionmodule lists to one line each
tucho Oct 6, 2024
ba2d0eb
Move autoSuspend into suspendSession
tucho Oct 6, 2024
581be88
Move powerButtonAction into suspendSession
tucho Oct 6, 2024
a6ab57f
Reindent some descriptions
tucho Oct 6, 2024
180605a
Move whenLaptopLidClosed into suspendSession
tucho Oct 6, 2024
f457502
Move inhibitLidActionWhenExternalMonitorConnected into suspendSession
tucho Oct 6, 2024
d496325
Move whenSleepingEnter into suspendSession
tucho Oct 7, 2024
fc0aa8d
Move changeScreenBrightness into displayAndBrightness
tucho Oct 7, 2024
f5b1bdb
Move dimDisplay into displayAndBrightness
tucho Oct 7, 2024
38c67a1
Move turnOffDisplay into displayAndBrightness
tucho Oct 7, 2024
d399b62
Reorder option-enums
tucho Oct 7, 2024
64bbe15
Rename autoSuspend to afterAPeriodOfInactivity
tucho Oct 7, 2024
f0e87c4
Rename powerButtonAction to whenPowerButtonPressed
tucho Oct 7, 2024
e5f95d0
Rename inhibitLidActionWhenExternalMonitorConnected to evenWhenAnExte…
tucho Oct 7, 2024
e726c5d
Rename dimDisplay to dimAutomatically
tucho Oct 7, 2024
665f1dd
Rename turnOffDisplay to turnOffScreen
tucho Oct 7, 2024
d7ddc44
Reformat most of the code
tucho Oct 10, 2024
7f77374
Make the options values mirror the system settings values
tucho Oct 10, 2024
43d7f55
Reorder config file generation function to match the options order
tucho Oct 10, 2024
d358c5d
Control low and critical battery levels and what to do at critical level
tucho Oct 10, 2024
48d3fac
Rename general.pausePlayersOnSuspend to otherSettings.pauseMediaPlaye…
tucho Oct 10, 2024
8834ad9
Reformat a couple of function
tucho Oct 11, 2024
6c22dcb
Add an option to set the power profile
tucho Oct 11, 2024
c0d5116
Add options to run custom scripts
tucho Oct 13, 2024
0721153
Split afterAperiodofinactivity into two options: script and idleTimeout
tucho Oct 13, 2024
c8d4b54
Add option lowLevelForPeripheralDevice
tucho Oct 13, 2024
1a94047
Fix ranges
tucho Oct 13, 2024
19964cb
Fix screen brightness range
tucho Oct 13, 2024
77a0506
Add options to change keyboard brightness
tucho Oct 13, 2024
2d228ec
Reformat 'if' expressions
tucho Oct 13, 2024
524d8da
Reformat type declarations
tucho Oct 13, 2024
b0ab36b
Reformat: add/remove blank lines for readability
tucho Oct 13, 2024
d310d6c
Move keyboard brightness config section for better readability
tucho Oct 13, 2024
faff43c
Remove displayAndBrightness.dimAutomatically.enable
tucho Oct 13, 2024
336cc1d
Change all descriptions and messages from multiline strings to ordina…
tucho Oct 13, 2024
0e8b6dc
Fix some descriptions to adhere to the standard
tucho Oct 13, 2024
a535b8b
Refactoring: extract attrset generalConfig
tucho Oct 13, 2024
0e66e22
Refactoring: rename createPowerDevilOptions' parameter type to profile
tucho Oct 13, 2024
a4298ef
Refactoring: rename createPowerDevilOptions to generateOptionsForProfile
tucho Oct 13, 2024
2d41279
Refactoring: rename createPowerDevilConfig' parameter optionsName to …
tucho Oct 13, 2024
1c95e93
Refactoring: rename createPowerDevilConfig to generateConfigForProfile
tucho Oct 13, 2024
bbd44ea
Refactoring: rename createAssertions' parameter type to profile
tucho Oct 13, 2024
eedc688
Refactoring: rename createAssertions to createAssertionsForProfile
tucho Oct 13, 2024
4a7c0df
Remove the battery levels assertion from createAssertionsForProfile
tucho Oct 13, 2024
bc50057
Refactoring: rename createAssertionsForProfile to generateAssertionsF…
tucho Oct 13, 2024
0349c95
Reformat for better readability
tucho Oct 14, 2024
2c3d730
Move the general option close to generateOptionsForProfile
tucho Oct 14, 2024
e4b1a88
Create a function to generate modified options modules per profile
tucho Oct 14, 2024
085a2fc
Move assertions declarations to the 'let' clause
tucho Oct 14, 2024
b876440
Reindent some sections and add comments to separate these section
tucho Oct 14, 2024
7e7e947
Refactoring: rename generateModifiedOptionsModules to generateModifie…
tucho Oct 14, 2024
8ac8cf5
Make generateOptionsForProfile return a attrset with the profile as h…
tucho Oct 14, 2024
1f4efd1
Refactoring: extract local variables in configuration declarations
tucho Oct 14, 2024
facde9d
Refactoring: extract local variables in assertions declarations
tucho Oct 14, 2024
b03e37e
Put the blocks in the same order both in 'let' and 'in' clauses
tucho Oct 14, 2024
7e35320
Fix configuration when evenWhenAnExternalMonitorIsConnected is null
tucho Oct 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading