home: keepassxc: Add GUI options.

Julien LepillerFri Jul 17 15:21:29+0200 2020

28d82e7

home: keepassxc: Add GUI options. * home/keepassxc.scm (keepassxc-configuration): Add compact-mode? and theme fields. * doc/keepassxc.md: Document them.

doc/keepassxc.md

3333
* **show-toolbar?** (default #t): Undocumented.
3434
* **hide-passwords?** (default #t): Whether to show passwords on the GUI.
3535
* **hide-usernames?** (default #f): Whether to show user names on the GUI.
36+
* **compact-mode?** (default #f): Whether to use compact display mode on the GUI.
37+
* **theme** (default "auto"): The theme to use (auto, light, dark or classic).
3638
* **ensure-every?** (default #t): Whether to use every class of characters in
3739
  password, or allow passwords that don't contain every enables classes.
3840
* **exclude-alike?** (default #t): Whether to prevent using similar characters.

home/keepassxc.scm

11
;;; Guix Home Manager.
22
;;;
3-
;;; Copyright ?? 2019 Julien Lepiller <julien@lepiller.eu>
3+
;;; Copyright ?? 2019, 2020 Julien Lepiller <julien@lepiller.eu>
44
;;;
55
;;; This program is free software: you can redistribute it and/or modify
66
;;; it under the terms of the GNU General Public License as published by

3030
            keepassxc-show-toolbar?
3131
            keepassxc-hide-passwords?
3232
            keepassxc-hide-usernames?
33+
            keepassxc-compact-mode?
34+
            keepassxc-theme
3335
            keepassxc-eaasci?
3436
            keepassxc-ensure-every?
3537
            keepassxc-exclude-alike?

6062
                         (default #t))
6163
  (hide-usernames?       keepassxc-hide-usernames?
6264
                         (default #f))
65+
  (compact-mode?         keepassxc-compact-mode?
66+
                         (default #f))
67+
  (theme                 keepassxc-theme
68+
                         (default "auto"))
6369
  (ensure-every?         keepassxc-ensure-every?
6470
                         (default #t))
6571
  (exclude-alike?        keepassxc-exclude-alike?

110116
                                 (("HidePasswords"
111117
                                   ,(keepassxc-hide-passwords? config))
112118
                                  ("HideUsernames"
113-
                                   ,(keepassxc-hide-usernames? config))))
119+
                                   ,(keepassxc-hide-usernames? config))
120+
                                  ("ApplicationTheme"
121+
                                   ,(keepassxc-theme config))
122+
                                  ("CompactMode"
123+
                                   ,(keepassxc-compact-mode? config))))
114124
                                ("generator"
115125
                                 (("EASCII"
116126
                                   ,(keepassxc-use-eascii? config))