gardesk/garlock / bfc015c

Browse files

Add sample config.toml

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
bfc015cfd34010e326cac38f000ca7a4a04e6334
Parents
3c585d9
Tree
88302f8

1 changed file

StatusFile+-
A examples/config.toml 85 0
examples/config.tomladded
@@ -0,0 +1,85 @@
1
+# garlock configuration
2
+# Screen locker for the gar desktop suite
3
+#
4
+# This file is auto-generated with default values.
5
+# Uncomment and modify options as needed.
6
+
7
+[general]
8
+# Grace period in seconds before password is required (0 to disable)
9
+grace_period = 0
10
+
11
+# PAM service name (must have corresponding /etc/pam.d/garlock file)
12
+pam_service = "garlock"
13
+
14
+# Maximum failed attempts before cooldown kicks in
15
+max_attempts = 3
16
+
17
+# Cooldown duration in seconds (multiplied by attempts over max)
18
+cooldown_seconds = 5
19
+
20
+[background]
21
+# Gaussian blur radius (higher = more blur, 0 to disable)
22
+blur_radius = 25.0
23
+
24
+# Brightness adjustment (0.0 = black, 1.0 = original brightness)
25
+brightness = 0.6
26
+
27
+# Fallback solid color if screenshot capture fails (hex format)
28
+fallback_color = "#1a1a2e"
29
+
30
+[ring]
31
+# Ring geometry
32
+radius_outer = 90.0
33
+radius_inner = 75.0
34
+line_width = 6.0
35
+
36
+# State colors (hex format with optional alpha: #RRGGBB or #RRGGBBAA)
37
+# Idle: waiting for input
38
+color_idle = "#1e90ffcc"
39
+
40
+# Typing: receiving password input
41
+color_typing = "#00ff00cc"
42
+
43
+# Verifying: checking password with PAM
44
+color_verifying = "#ffa500cc"
45
+
46
+# Wrong: authentication failed
47
+color_wrong = "#ff0000cc"
48
+
49
+# Clear: backspace pressed / clearing input
50
+color_clear = "#ffff00cc"
51
+
52
+# Inner circle fill color
53
+color_inside = "#00000088"
54
+
55
+# Ring track background color
56
+color_ring_bg = "#00000055"
57
+
58
+[indicator]
59
+# Show Caps Lock warning when active
60
+show_caps_lock = true
61
+caps_lock_text = "Caps Lock"
62
+
63
+# Show number of failed attempts
64
+show_failed_attempts = true
65
+
66
+# Show current time on lock screen
67
+show_time = true
68
+
69
+# Time format (strftime patterns)
70
+# Common formats:
71
+#   "%H:%M"     - 24-hour (14:30)
72
+#   "%H:%M:%S"  - 24-hour with seconds (14:30:45)
73
+#   "%I:%M %p"  - 12-hour with AM/PM (02:30 PM)
74
+#   "%I:%M:%S %p" - 12-hour with seconds (02:30:45 PM)
75
+#   "%l:%M %p"  - 12-hour no leading zero (2:30 PM)
76
+#   "%a %H:%M"  - Day + time (Mon 14:30)
77
+#   "%A, %B %d" - Full date (Monday, January 16)
78
+time_format = "%H:%M:%S"
79
+
80
+[font]
81
+# Font family for text elements
82
+family = "Sans"
83
+
84
+# Font size in points
85
+size = 14