AnErrupTion
64539f4342
Split UI code into ly-ui library
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-03-17 21:44:33 +01:00
AnErrupTion
93696a6b30
Remove unused import + add TODO
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-03-17 21:03:59 +01:00
AnErrupTion
4f26eeada0
Fix double spacing issue in labels
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-03-17 20:10:47 +01:00
AnErrupTion
83e98a185f
Add TODO in main.zig
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-03-17 20:01:47 +01:00
AnErrupTion
128dcb16f8
Merge branch 'master' of codeberg.org:fairyglade/ly
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-03-17 19:58:58 +01:00
Luna
3a4109eb2d
Add toggle visibility to password ( #938 )
...
## What are the changes about?
I have add a keybinding to toggle the visibility of the password
## 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/938
Reviewed-by: AnErrupTion <anerruption+codeberg@disroot.org >
Co-authored-by: Luna <luna-39@noreply.codeberg.org >
Co-committed-by: Luna <luna-39@noreply.codeberg.org >
2026-03-17 12:27:23 +01:00
GalaxyShard
7cefff4570
Add Esperanto translation ( #942 )
...
Title.
- [x] I have tested & confirmed the changes work locally
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/942
Reviewed-by: AnErrupTion <anerruption+codeberg@disroot.org >
Co-authored-by: GalaxyShard <dominic.adragna@byteroach.com >
Co-committed-by: GalaxyShard <dominic.adragna@byteroach.com >
2026-03-16 23:16:43 +01:00
OSVidYapan
f31c55b562
Improve README.md ( #940 )
...
For anyone who doesn't know see this thread;
https://codeberg.org/fairyglade/ly/pulls/934
This is the original post i have fixed the commit log issue
(by recreating entire new fork)
Note that is is also grammarly fixed version.
(mostly please advise if i still have those mistakes)
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/940
Reviewed-by: AnErrupTion <anerruption+codeberg@disroot.org >
Co-authored-by: OSVidYapan <osvidyapan@noreply.codeberg.org >
Co-committed-by: OSVidYapan <osvidyapan@noreply.codeberg.org >
2026-03-16 21:13:08 +01:00
AnErrupTion
9cde291ac7
Remove unused termbox alias
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-27 22:19:09 +01:00
AnErrupTion
03d976171a
Fix battery level overlapping shutdown label ( fixes #935 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-27 20:28:11 +01:00
AnErrupTion
b01e4afc79
Make default startup script more compatible
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-12 17:10:52 +01:00
AnErrupTion
5a4605ffb6
Add layering system for widgets
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-12 11:29:14 +01:00
AnErrupTion
01dcfa207e
Show UI errors in info line again
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-12 11:20:54 +01:00
AnErrupTion
32d5330efb
Move the event loop to a separate function
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-12 01:19:19 +01:00
AnErrupTion
5564fed664
Add Widget.calculateTimeout function
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-12 00:27:07 +01:00
AnErrupTion
7c7aed9cb2
Make animation timeout independent of event loop
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-11 23:51:32 +01:00
AnErrupTion
57c96a3478
Fix animation timeout bug + remove redundant check
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-11 22:55:10 +01:00
AnErrupTion
6773f74788
Add widget display name to improve logging
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-11 21:51:07 +01:00
AnErrupTion
b389e379fa
Make handling inputs widget-independent
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-11 21:00:00 +01:00
hynak
4a72e41e44
Fix default startup script ( #929 )
...
## What are the changes about?
Discussed in !920 . Adds fixes to the startup script by removing the array usage (some shells use arrays different/unsupported) and adds stdout_behavior Inherit flag to the child process to propagate the echos to the TTY.
## 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/929
Reviewed-by: AnErrupTion <anerruption@disroot.org >
Co-authored-by: hynak <hynak@noreply.codeberg.org >
Co-committed-by: hynak <hynak@noreply.codeberg.org >
2026-02-10 22:20:30 +01:00
AnErrupTion
d268d5bb45
Add the cascade animation as a separate widget
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-10 17:43:55 +01:00
Cyaxares
f320d3f666
Add Kurdish translation ( #930 )
...
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/930
Reviewed-by: AnErrupTion <anerruption@disroot.org >
Co-authored-by: Cyaxares <cyaxares@noreply.codeberg.org >
Co-committed-by: Cyaxares <cyaxares@noreply.codeberg.org >
2026-02-10 10:47:50 +01:00
AnErrupTion
70e95f094a
Fix incorrect key parsing
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-10 10:41:08 +01:00
AnErrupTion
207b352888
Add central Widget struct + clean up code
...
In particular, move all termbox2 usage to TerminalBuffer.zig &
keyboard.zig
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-10 00:22:27 +01:00
AnErrupTion
99dba44e46
Rename min_refresh_delta option to animation_frame_delay ( closes #925 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-09 11:38:56 +01:00
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
laur
8c08359e51
custom-sessions/README: remove extraneous comma ( #927 )
...
## What are the changes about?
Fix a typo.
## What existing issue does this resolve?
N/A
Co-authored-by: laur <laur.aliste@gmail.com >
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/927
Co-authored-by: laur <laur@noreply.codeberg.org >
Co-committed-by: laur <laur@noreply.codeberg.org >
2026-02-08 13:16:25 +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
ce0d00771d
Use the unifont engine for KMSCON
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-07 10:43:08 +01:00
WinuxVidYapan
b032c9b296
Update Turkish translations ( #917 )
...
So i am sorry for unintended behavior i am new to Codeberg and pull requests
But here are the words.
- [x] I have tested & confirmed the changes work locally
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/917
Reviewed-by: AnErrupTion <anerruption@disroot.org >
Co-authored-by: WinuxVidYapan <winuxvidyapan@noreply.codeberg.org >
Co-committed-by: WinuxVidYapan <winuxvidyapan@noreply.codeberg.org >
2026-02-05 20:19:41 +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
21fca058e7
Don't install startup.sh with installnoconf
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2026-02-05 15:03:05 +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
hynak
72f43fbc56
Add shell script showing how change TTY colors ( #920 )
...
## What are the changes about?
What was discussed in !912 before I accidentally caused it to auto merge (still not sure how that happened). I assume this is what was meant when asking for it to be in the startup script commented out.
## 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/920
Reviewed-by: AnErrupTion <anerruption@disroot.org >
Co-authored-by: hynak <hynak@noreply.codeberg.org >
Co-committed-by: hynak <hynak@noreply.codeberg.org >
2026-02-04 20:36:55 +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