Commit Graph

554 Commits

Author SHA1 Message Date
AnErrupTion
0c12008327 Move more termbox usage into TerminalBuffer
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2026-01-31 10:36:08 +01:00
AnErrupTion
7934060d3b Credit Kawaii-Ash in the README
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2026-01-29 21:31:45 +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

![logo-preview](/attachments/5a829dbd-7708-4d0a-9841-d024902ede68)

## 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
94c306758a Update Matrix space link (envs.net migration)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2026-01-17 16:58:05 +01:00
AnErrupTion
82d24d7725 Add donation links
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2026-01-17 10:48:12 +01:00
AnErrupTion
5a51d5ced5 Fix building on musl (closes #760)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2026-01-06 22:27:36 +01:00
AnErrupTion
135d1e40f6 Update termbox2
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2026-01-06 22:18:31 +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
ViSzKe
e57de5172e Update Swedish translation (#899)
## What are the changes about?

Adding proper Swedish translation

## What existing issue does this resolve?

The sub-standard Swedish translation

## Pre-requisites

- [x] I have tested & confirmed the changes work locally

Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/899
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: ViSzKe <vilgot.sz.k@gmail.com>
Co-committed-by: ViSzKe <vilgot.sz.k@gmail.com>
2025-12-29 23:36:47 +01:00
qbe
04d4447273 Escape TTY in systemd service (closes #889) (#890)
## What are the changes about?

* fix templated systemd dependencies: %I -> %i
* amend systemd-specific documentation in readme with section specific to systemd-logind / autovt

## What existing issue does this resolve?

[issue #889](https://codeberg.org/fairyglade/ly/issues/889)

## Pre-requisites

- [x] I have tested & confirmed the changes work locally

Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/890
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: qbe <public.github.c@hannen.at>
Co-committed-by: qbe <public.github.c@hannen.at>
2025-12-18 12:17:00 +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
c6446db3e2 Start Ly v1.4.0 development cycle
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-12-06 15:58:39 +01:00
AnErrupTion
e0692885c5 Make delay floating point in dur format
Signed-off-by: AnErrupTion <anerruption@disroot.org>
v1.3.0
2025-12-06 14:34:47 +01:00
AnErrupTion
b6d3aa0e1c Merge changes
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-12-06 14:25:57 +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
RacerBG
cab3f1bfb5 Added the Latest Changes to the Bulgarian Translation (#879)
Signed-off-by: RacerBG <racerbg@noreply.codeberg.org>

## What are the changes about?

N/A

## 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/879
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: RacerBG <racerbg@noreply.codeberg.org>
Co-committed-by: RacerBG <racerbg@noreply.codeberg.org>
2025-12-06 13:39:52 +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
6cce221cbf Improve issue template
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-12-02 22:37:03 +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
AnErrupTion
b249dba092 Support multiple TTYs with systemd service (closes #102)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-12-02 22:11:39 +01:00
AnErrupTion
3365b33d6d Fix zig-clap dependency URL
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-12-01 22:09:41 +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
AnErrupTion
3dfb86fe69 Merge changes
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-11-30 21:59:09 +01:00
AnErrupTion
f9a001b160 Update zigini dependency & use same Git URL format everywhere
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-11-30 21:57:42 +01:00
RacerBG
5235ca47c5 Add Bulgarian Translation (#872)
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/872
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: RacerBG <racerbg@noreply.codeberg.org>
Co-committed-by: RacerBG <racerbg@noreply.codeberg.org>
2025-11-30 21:52:46 +01:00
AnErrupTion
a94abf2e69 Improve bug report template & add PR template
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-11-30 12:08:10 +01:00
AnErrupTion
fe354a4809 Add fallback UID range options at compile-time
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-11-30 09:47:50 +01:00
AnErrupTion
8c964d9ce5 Don't crash when failing to crawl a session directory (closes #870)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-11-30 09:30:33 +01:00
AnErrupTion
392ea6ea63 Update French locale
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-11-30 09:18:29 +01:00
AnErrupTion
10854e643a Don't crash when failing to parse arguments
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-11-30 09:14:10 +01:00
ebits
1980b2e479 Feature: Added option for hibernate between sleep and brightness down (#867) (closes #866)
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/867
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: ebits <tspamiitesh@gmail.com>
Co-committed-by: ebits <tspamiitesh@gmail.com>
2025-11-28 19:05:17 +01:00