File tree 4 files changed +30
-1
lines changed
4 files changed +30
-1
lines changed Original file line number Diff line number Diff line change
1
+ [com/github/wwmm/easyeffects/streamoutputs/bassenhancer]
2
+ amount=-6.9388939039072284e-16
3
+ blend=0.0
4
+ listen=true
Original file line number Diff line number Diff line change
1
+ # Generated via dconf2nix: https://github.com/gvolpe/dconf2nix
2
+ { lib , ... } :
3
+
4
+ with lib . hm . gvariant ;
5
+
6
+ {
7
+ dconf . settings = {
8
+ "com/github/wwmm/easyeffects/streamoutputs/bassenhancer" = {
9
+ amount = - 6.938893903907228e-16 ;
10
+ blend = 0.0 ;
11
+ listen = true ;
12
+ } ;
13
+
14
+ } ;
15
+ }
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ vDouble = try $ do
21
21
s <- option " " $ string " -"
22
22
n <- many1 digit
23
23
d <- string " ."
24
- e <- many1 digit
24
+ e <- many1 ( digit <|> oneOf " eEdD- " )
25
25
pure . D $ read (s <> n <> d <> e)
26
26
27
27
vInt :: Parsec Text () Value
Original file line number Diff line number Diff line change @@ -106,5 +106,15 @@ dconf2nixKeybindings =
106
106
prop_dconf2nix_keybindings :: Property
107
107
prop_dconf2nix_keybindings = withTests (10 :: TestLimit ) dconf2nixKeybindings
108
108
109
+ dconf2nixScientificNotation :: Property
110
+ dconf2nixScientificNotation =
111
+ let input = " data/scientific-notation.settings"
112
+ output = " output/scientific-notation.nix"
113
+ root = Root T. empty
114
+ in baseProperty input output root
115
+
116
+ prop_dconf2nix_scientific_notation :: Property
117
+ prop_dconf2nix_scientific_notation = withTests (10 :: TestLimit ) dconf2nixScientificNotation
118
+
109
119
dconf2nixTests :: Group
110
120
dconf2nixTests = $$ (discover)
You can’t perform that action at this time.
0 commit comments