home: keepassxc: Add GUI options. * home/keepassxc.scm (keepassxc-configuration): Add compact-mode? and theme fields. * doc/keepassxc.md: Document them.
doc/keepassxc.md
33 | 33 | * **show-toolbar?** (default #t): Undocumented. | |
34 | 34 | * **hide-passwords?** (default #t): Whether to show passwords on the GUI. | |
35 | 35 | * **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). | |
36 | 38 | * **ensure-every?** (default #t): Whether to use every class of characters in | |
37 | 39 | password, or allow passwords that don't contain every enables classes. | |
38 | 40 | * **exclude-alike?** (default #t): Whether to prevent using similar characters. |
home/keepassxc.scm
1 | 1 | ;;; Guix Home Manager. | |
2 | 2 | ;;; | |
3 | - | ;;; Copyright ?? 2019 Julien Lepiller <julien@lepiller.eu> | |
3 | + | ;;; Copyright ?? 2019, 2020 Julien Lepiller <julien@lepiller.eu> | |
4 | 4 | ;;; | |
5 | 5 | ;;; This program is free software: you can redistribute it and/or modify | |
6 | 6 | ;;; it under the terms of the GNU General Public License as published by | |
… | |||
30 | 30 | keepassxc-show-toolbar? | |
31 | 31 | keepassxc-hide-passwords? | |
32 | 32 | keepassxc-hide-usernames? | |
33 | + | keepassxc-compact-mode? | |
34 | + | keepassxc-theme | |
33 | 35 | keepassxc-eaasci? | |
34 | 36 | keepassxc-ensure-every? | |
35 | 37 | keepassxc-exclude-alike? | |
… | |||
60 | 62 | (default #t)) | |
61 | 63 | (hide-usernames? keepassxc-hide-usernames? | |
62 | 64 | (default #f)) | |
65 | + | (compact-mode? keepassxc-compact-mode? | |
66 | + | (default #f)) | |
67 | + | (theme keepassxc-theme | |
68 | + | (default "auto")) | |
63 | 69 | (ensure-every? keepassxc-ensure-every? | |
64 | 70 | (default #t)) | |
65 | 71 | (exclude-alike? keepassxc-exclude-alike? | |
… | |||
110 | 116 | (("HidePasswords" | |
111 | 117 | ,(keepassxc-hide-passwords? config)) | |
112 | 118 | ("HideUsernames" | |
113 | - | ,(keepassxc-hide-usernames? config)))) | |
119 | + | ,(keepassxc-hide-usernames? config)) | |
120 | + | ("ApplicationTheme" | |
121 | + | ,(keepassxc-theme config)) | |
122 | + | ("CompactMode" | |
123 | + | ,(keepassxc-compact-mode? config)))) | |
114 | 124 | ("generator" | |
115 | 125 | (("EASCII" | |
116 | 126 | ,(keepassxc-use-eascii? config)) |