feat: configurable app, implement terminal colors

This commit is contained in:
Pihkaal
2024-01-18 19:59:11 +01:00
parent 0fdd0e1253
commit e31f16d9a8
4 changed files with 104 additions and 6 deletions

32
config Normal file
View File

@@ -0,0 +1,32 @@
# tlock config file
[general]
# Say goodbye when you press CTRL-C
# Value: true, false
polite=true
# FPS
# Value: int
fps=30
[styling]
# Which color mode to use
# Value: "term", "rgb" or "ansi"
color_mode=term
# Loaded if color_mode is set to "term"
# Value: 0-15
color_term=7
# Loaded if color_mode is set to "rgb"
# Value: 0-255
color_r=255
color_g=0
color_b=0
# Loaded if color_mode is set to "ansi"
# Value: 0-255
color_ansi=100