Skip to content

Commit

Permalink
fixes #57 (header containing _)
Browse files Browse the repository at this point in the history
  • Loading branch information
gvolpe committed Jan 19, 2022
1 parent a7ce581 commit 664b1d2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions data/headers.settings
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ name="Yaru"
round-avatars=false
startup-accounts=['account_name']
window-geometry={'account_name': (30, 26, 694, 1182)}

[org/gnome/shell/extensions/bluetooth_battery_indicator]
hide-indicator=true
4 changes: 4 additions & 0 deletions output/headers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,9 @@ with lib.hm.gvariant;
window-geometry = "{'account_name': (30, 26, 694, 1182)}";
};

"org/gnome/shell/extensions/bluetooth_battery_indicator" = {
hide-indicator = true;
};

};
}
2 changes: 1 addition & 1 deletion src/DConf.hs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ dconfHeader :: Parsec Text () Header
dconfHeader = do
many1 (char '[') <* spaces
T.pack . concat <$> manyTill tokens (string " ]" <|> string "]")
where tokens = choice $ many1 <$> [oneOf "/.-:", alphaNum]
where tokens = choice $ many1 <$> [oneOf "/.-:_", alphaNum]

dconfValue :: Parsec Text () Value
dconfValue = vListOfVariant <|> vList <|> vEmptyList <|> vJson <|> dconf endBy
Expand Down

0 comments on commit 664b1d2

Please sign in to comment.