AnErrupTion
d1810d8c98
Fix numlock & capslock positioning
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-09 11:20:27 +01:00
AnErrupTion
852a602032
Support more configurable keybindings ( closes #679 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-09 11:11:00 +01:00
AnErrupTion
cf5f62661c
Remove resolution_changed bool
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-08 22:23:07 +01:00
AnErrupTion
1db780c7a7
Better handle screen resizes
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-08 22:18:00 +01:00
AnErrupTion
941b7e0dae
Properly calculate string lengths
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-08 22:04:09 +01:00
AnErrupTion
e9e2d51261
Better bigclock positioning
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-08 21:36:18 +01:00
AnErrupTion
769aefd6e9
Add separate big label widget for bigclock
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-08 21:14:49 +01:00
AnErrupTion
f678e3bb28
Add update function for Label
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-08 19:50:32 +01:00
AnErrupTion
f22593f828
Add Label component & make colors custom
...
This commit also makes Ly more resilient to (impossible) screen
resolutions.
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-08 17:40:50 +01:00
AnErrupTion
7bbdebe58b
Fix center offset error
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-08 15:09:55 +01:00
AnErrupTion
bca38856b1
Completely refactor widget placement code
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-08 14:53:36 +01:00
AnErrupTion
fd81da7cbd
Organise imports
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-07 17:01:11 +01:00
AnErrupTion
950eeed3ee
Log which VT is used
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-07 10:48:05 +01:00
AnErrupTion
7744745f09
Don't try to switch TTY with KMSCON
...
It can do it automatically (see the corresponding service file).
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-05 19:55:40 +01:00
AnErrupTion
11735290b8
Fix active TTY detection for KMSCON
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-05 19:50:48 +01:00
AnErrupTion
2b46a81796
Add basic KMSCON support ( closes #886 )
...
It's not perfect yet, but at least it works!
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-05 15:01:45 +01:00
AnErrupTion
b00d6899e5
Fix buffer not resizing with no animation
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-04 20:16:53 +01:00
AnErrupTion
7ce8ff61fe
Unify ini parsing logic
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-01 10:41:06 +01:00
AnErrupTion
1a04a608a1
Remove dummy animation
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-01-31 22:51:44 +01:00
AnErrupTion
b0dcc12785
Move UI drawing to separate function
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-01-31 22:35:28 +01:00
AnErrupTion
b672d04dc6
Improve authentication logging
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-01-31 11:46:55 +01:00
AnErrupTion
2e04ea4d79
Add time, severity & category in logs
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-01-31 11:17:36 +01:00
AnErrupTion
0c12008327
Move more termbox usage into TerminalBuffer
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-01-31 10:36:08 +01:00
AnErrupTion
a158098df0
Add config.x_vt option ( fixes #910 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-01-26 20:45:33 +01:00
AnErrupTion
5bfa1670cc
Better systemd-homed user detection ( fixes #913 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-01-26 20:36:44 +01:00
hynak
a4076b83da
[dur] Add support for alignments and negative offsets + Ly logo ( #893 )
...
## What are the changes about?
Add support for letting a user use a negative offset (#880 ), alignment, and logo. Below is example of the logo file, I hope it is what was request :). It has no padding so a user can move the alignment and offset to get it how they want on screen.
This technically is good to go, except I didn't upload the logo file as I'm not sure where to add the animation file to get it to here: $CONFIG_DIRECTORY/ly/example.dur

## What existing issue does this resolve?
#880
## Pre-requisites
- [x] I have tested & confirmed the changes work locally
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/893
Reviewed-by: AnErrupTion <anerruption@disroot.org >
Co-authored-by: hynak <hynak@noreply.codeberg.org >
Co-committed-by: hynak <hynak@noreply.codeberg.org >
2026-01-25 23:08:42 +01:00
AnErrupTion
2eea683078
Fix wrong session being chosen in autologin ( closes #911 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-01-18 21:35:49 +01:00
AnErrupTion
d7f64676ee
Split core code into ly-core library
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-01-18 21:07:53 +01:00
AnErrupTion
456916f059
Remove unused import in auth.zig
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-01-18 20:49:32 +01:00
AnErrupTion
2b1e4dc6c9
Fix undefined value in XCB connection check
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-01-18 18:03:21 +01:00
AnErrupTion
c0c400e0b6
Recursively create xauth file directory if non-existent
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-12-30 19:35:40 +01:00
AnErrupTion
9e4147bfb4
Fix invalid XDG_RUNTIME_DIR if D-Bus isn't used
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-12-30 19:29:47 +01:00
AnErrupTion
8e893932f2
Clamp user session index if invalid
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-12-30 18:09:46 +01:00
AnErrupTion
26e7585b0b
Don't forget to allocate :D
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-12-30 17:43:00 +01:00
AnErrupTion
b1cb576f67
Check for session file name in autologin ( closes #895 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-12-30 17:38:22 +01:00
AnErrupTion
add7f25f0d
Create session log directory if non-existent ( closes #896 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-12-30 17:20:04 +01:00
Theo Gaige
2e7bb3eb58
Use buf_height and buf_width in Matrix.draw() ( #903 )
...
## What are the changes about?
buf_height is declared at the start of the draw() function of the
Matrix animation but both buf_height and self.terminal_buffer.height are
used in the function. replace every occurence of
self.terminal_buffer.height by buf_height for consistency.
The same goes for buf_width and self.terminal_buffer.width.
no functionnal changes
## What existing issue does this resolve?
N/A
## Pre-requisites
- [x] I have tested & confirmed the changes work locally
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/903
Reviewed-by: AnErrupTion <anerruption@disroot.org >
Co-authored-by: Theo Gaige <theo.gaige@free.fr >
Co-committed-by: Theo Gaige <theo.gaige@free.fr >
2025-12-29 23:39:10 +01:00
AnErrupTion
ced8f9bee3
Fix session not being saved correctly
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-12-17 17:32:16 +01:00
AnErrupTion
e0692885c5
Make delay floating point in dur format
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-12-06 14:34:47 +01:00
AnErrupTion
e6966a628c
Fix wrong session index + save file corruption
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-12-06 14:25:01 +01:00
AnErrupTion
a9ff0a6d07
Only support dur format v7, set -1 color to black
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-12-06 10:05:41 +01:00
AnErrupTion
92beb24c80
Fix save file initialisation & incorrect saved session index
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-12-05 19:49:27 +01:00
hynak
7e18d906c4
[Feature] Add support for .dur file format and animations ( closes #719 ) ( #833 )
...
Adds support for durdraw's .dur file format. Supports ascii, animations, and 16/256 color display.
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/833
Reviewed-by: AnErrupTion <anerruption@disroot.org >
Co-authored-by: hynak <hynak@noreply.codeberg.org >
Co-committed-by: hynak <hynak@noreply.codeberg.org >
2025-12-05 19:46:42 +01:00
AnErrupTion
3bfdc75a70
Add option to run command after inactivity delay ( closes #747 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-12-03 20:39:27 +01:00
AnErrupTion
1c99574f73
Add option to run command before UI is initialised ( closes #798 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-12-02 22:23:10 +01:00
radsammyt
6cb53b6e38
Refactor active_input field-jumping logic ( #873 )
...
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/873
Reviewed-by: AnErrupTion <anerruption@disroot.org >
Co-authored-by: radsammyt <radsammyt@noreply.codeberg.org >
Co-committed-by: radsammyt <radsammyt@noreply.codeberg.org >
2025-12-01 20:07:59 +01:00
AnErrupTion
d82fa82a87
Always add hostname last in the info line
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-11-30 23:50:39 +01:00
AnErrupTion
c2b3d794e8
Fix fallback UID range + add error if UID range not found
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-11-30 23:36:47 +01:00
AnErrupTion
e29bda3250
Add systemd-homed UID range
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-11-30 23:02:23 +01:00
AnErrupTion
4df2382698
Add possibility to disable auth_fails animation ( closes #835 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-11-30 22:19:38 +01:00