AnErrupTion
36e220e2ff
Remove usage of std.c.stat() for xauth code
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-30 02:09:51 +02:00
AnErrupTion
0a9ceca822
Don't dupeZ() in main
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-30 01:09:12 +02:00
AnErrupTion
f9553655a3
Separate platform code from C interop code
...
Also, don't use isBSD() because we'll only support FreeBSD for
now. Other BSDs may not necessarily support Unicode characters
or the same ioctl constants as we do (or even ioctl at all).
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-30 00:27:04 +02:00
AnErrupTion
230874abd1
Don't forget to flush... :)
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-29 22:54:05 +02:00
AnErrupTion
38c3ecd089
Remove unused import
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-29 22:42:34 +02:00
AnErrupTion
fec0815161
Always copy an example config file (partially addresses #801 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-29 22:18:50 +02:00
AnErrupTion
a7d6b06d21
Add partial logging in authentication process ( closes #822 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-29 09:28:29 +02:00
AnErrupTion
1ee8010c24
Fix dinit & s6 service + don't hardcode paths in runit service
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-29 02:18:11 +02:00
AnErrupTion
f988bd334b
Update termbox2
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-29 00:45:28 +02:00
AnErrupTion
aa0222948a
Update config migrator
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-29 00:35:11 +02:00
AnErrupTion
69d39dc035
Remove config.load
...
config.save already makes it redundant. Besides, who would want
to save the current username & session, but not want to load it
at the next boot?
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-29 00:32:49 +02:00
AnErrupTion
6d7dbb9f27
Fix typo & remove unused import
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-29 00:07:32 +02:00
AnErrupTion
7cfb947187
Reduce libc usage & move more stuff to interop
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-28 01:39:19 +02:00
AnErrupTion
336847d418
Merge changes from master
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-27 23:45:52 +02:00
AnErrupTion
ff9b6279d3
Update to Zig 0.15.0 ( closes #829 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-27 23:44:39 +02:00
AnErrupTion
d7a4535007
Update screenshot
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-11 12:32:10 +02:00
AnErrupTion
7353e75d78
Merge branch 'master' of codeberg.org:fairyglade/ly
2025-08-05 08:26:38 +02:00
AnErrupTion
cd0accfb28
Show error name instead of error if shutdown/reboot fails
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-05 08:26:13 +02:00
AnErrupTion
5bacc8870b
Update repository link in README
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-03 23:42:35 +02:00
AnErrupTion
c3d180c213
Add basic general log file
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-03 15:59:47 +02:00
AnErrupTion
3f891d7f0d
Workaround for session process not exiting immediately
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-03 14:56:16 +02:00
AnErrupTion
e404d5bdb3
Clean-up: std.posix.kill() returns nothing
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-03 14:55:50 +02:00
AnErrupTion
dee055748c
Format code properly
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-03 13:47:53 +02:00
AnErrupTion
bd2d1142b2
Don't enable bigclock by default
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-03 13:05:28 +02:00
AnErrupTion
4fbbb6f0f2
Reduce nesting a bit
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-02 22:59:34 +02:00
AnErrupTion
ef64029795
Only clear TTY under certain circumstances
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-02 22:57:47 +02:00
AnErrupTion
71c694e575
Correct mention of TTY modification in README
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-02 22:22:18 +02:00
AnErrupTion
c37aa6957a
Improve README
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-02 20:26:31 +02:00
AnErrupTion
8377f14509
Exclude unsupported distributions in packaging status
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-02 19:45:40 +02:00
AnErrupTion and Plash
b35c055e7b
Fix clock string length issues ( fixes #716 )
...
Co-authored-by: Plash <plash@noreply.codeberg.org >
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-02 13:08:07 +02:00
AnErrupTion
c05c32c5be
Fix possible overflow with 5-digit+ UIDs (c.f. #684 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-02 00:57:22 +02:00
AnErrupTion
1f0274e797
Add packaging status in readme.md through Repology
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-08-02 00:02:30 +02:00
AnErrupTion
f97d0c27d3
Merge pull request 'Russian translation update' ( #810 ) from tyusha/ly:LangUpdate into master
...
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/810
Reviewed-by: AnErrupTion <anerruption@disroot.org >
2025-08-01 23:52:53 +02:00
AnErrupTion
d36147a376
Merge pull request 'fix: Reorder default PATH to prioritize /usr/local directories to solve problem with archlinux' ( #814 ) from jlucaso/ly:fix-reorder-path into master
...
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/814
Reviewed-by: AnErrupTion <anerruption@disroot.org >
2025-08-01 23:51:18 +02:00
AnErrupTion
933e5bdd2d
Merge pull request 'fix: duplicated entry waylandsessions' ( #813 ) from jlucaso/ly:fix-duplicate-waylandsessions-entry into master
...
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/813
Reviewed-by: AnErrupTion <anerruption@disroot.org >
2025-07-26 19:26:39 +02:00
AnErrupTion
98f59a69cc
Merge pull request 'Refactor: Pull termbox2 in as a Zig dependency' ( #799 ) from jlucaso/ly:refactor/termbox2-dependency into master
...
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/799
Reviewed-by: AnErrupTion <anerruption@disroot.org >
2025-07-25 10:48:28 +02:00
AnErrupTion
e8cb8970fd
Merge pull request 'Feat: Add Japanese (ja_JP) localization' ( #793 ) from darallium/ly:master into master
...
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/793
Reviewed-by: AnErrupTion <anerruption@disroot.org >
2025-07-19 22:11:14 +02:00
AnErrupTion
35265f5e77
Merge pull request 'fix: confined labels/box title cutting off' ( #806 ) from radsammyt/ly:fix-confined-labels into master
...
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/806
Reviewed-by: AnErrupTion <anerruption@disroot.org >
2025-07-17 10:39:08 +02:00
AnErrupTion
1d4e32ba82
List all users in the system ( fixes #373 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-07-10 10:06:19 +02:00
AnErrupTion
97efac0cd1
Add Matrix space link to README
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-07-09 21:38:45 +02:00
AnErrupTion
04920e1b1b
Implement custom session support ( fixes #757 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-07-08 22:39:14 +02:00
AnErrupTion
48e5369f56
Fix character width calculation
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-07-08 16:32:20 +02:00
AnErrupTion
918e9ad5ac
Only show lang.err_lock_state once
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-07-08 12:47:24 +02:00
AnErrupTion
ce17d346e8
Remove lang.err_console_dev
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-07-08 12:45:47 +02:00
AnErrupTion
ce0b05fd6e
Merge pull request 'Fix Doom fire animation; add flame height control' ( #792 ) from asterane/ly:doom-fire-refresh into master ( fixes #784 )
...
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/792
Reviewed-by: AnErrupTion <anerruption@disroot.org >
2025-07-08 10:26:37 +02:00
AnErrupTion
1bcbb08202
Add config.console_dev as a removed property in migrator
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-07-07 21:46:49 +02:00
AnErrupTion
d08b9a916e
Remove config.console_dev option + handle ioctl errors
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-07-07 21:45:54 +02:00
AnErrupTion
e5eb8b7f6f
Merge branch 'master' of codeberg.org:fairyglade/ly
2025-07-06 09:26:38 +02:00
AnErrupTion
41f4378bfe
Fix XDG_RUNTIME_DIR not being set properly ( fixes #781 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-07-06 09:25:06 +02:00
AnErrupTion
3ad0c00380
Merge pull request 'Update German translation' ( #796 ) from Ireozar/ly:master into master
...
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/796
Reviewed-by: AnErrupTion <anerruption@disroot.org >
2025-06-24 17:00:30 +02:00
AnErrupTion
2df2c44cdf
Merge pull request 'Add GameOfLife Animation' ( #766 ) from thoxy/ly:master into master
...
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/766
Reviewed-by: AnErrupTion <anerruption@disroot.org >
2025-06-22 15:03:32 +02:00
AnErrupTion
9a3d62333a
Merge branch 'master' into master
2025-06-22 15:03:04 +02:00
AnErrupTion
2ae86a695b
Finish merge
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-06-17 22:29:03 +02:00
AnErrupTion
ef78ac28a4
Remove big header about Codeberg migration
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-06-17 22:28:00 +02:00
AnErrupTion
e156414062
Merge pull request 'Add option to hide version string' ( #785 ) from dusan/ly:add-option-to-hide-version-string into master
...
Reviewed-on: https://codeberg.org/AnErrupTion/ly/pulls/785
Reviewed-by: AnErrupTion <anerruption@disroot.org >
2025-06-13 09:28:25 +02:00
AnErrupTion
a8b8292318
Add name of unknown error instead of generic string
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-05-31 11:04:46 +02:00
AnErrupTion
36a27f6167
Fix big clock UB in ReleaseSafe
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-05-31 10:32:03 +02:00
AnErrupTion
063b3145ed
Start v1.2.0 development cycle
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-05-30 19:29:04 +02:00
AnErrupTion
fa0d8c509d
Merge pull request 'Update readme.md' ( #777 ) from a1e5Term-rf-ln/ly:new1 into master
...
Reviewed-on: https://codeberg.org/AnErrupTion/ly/pulls/777
Reviewed-by: AnErrupTion <anerruption@disroot.org >
2025-05-30 17:49:20 +02:00
AnErrupTion
b42953fd7e
Update screenshot
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-05-30 17:39:44 +02:00
AnErrupTion
67a4dd8f9d
Rewrite DOOM animation ( fixes #692 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-05-30 16:11:14 +02:00
AnErrupTion
cedb7a3b02
Fix TTY not being cleared sometimes ( closes #696 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-05-30 14:18:29 +02:00
AnErrupTion
02729cce21
Add brightnessctl to runtime dependency list
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-05-30 14:17:41 +02:00
AnErrupTion
d9204131aa
Fix brightness up key not working ( closes #763 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-05-30 09:24:07 +02:00
AnErrupTion
e90cf40e5b
Update termbox2
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-05-29 23:52:58 +02:00
AnErrupTion
b0395ef103
Merge pull request 'Update Polish translation' ( #758 ) from Bluudek/ly:pl_lang_update into master
...
Reviewed-on: https://codeberg.org/AnErrupTion/ly/pulls/758
Reviewed-by: AnErrupTion <anerruption@disroot.org >
2025-05-29 23:13:27 +02:00
AnErrupTion
692e7265e3
Merge pull request 'Added dwm and gnome on Supported X11 Environments' ( #753 ) from ManogyaDahal/ly:manogya/update_readme_supported_device into master
...
Reviewed-on: https://codeberg.org/AnErrupTion/ly/pulls/753
Reviewed-by: AnErrupTion <anerruption@disroot.org >
2025-05-29 22:49:44 +02:00
AnErrupTion
a1b38188d0
Merge pull request 'Add Arabic Translation' ( #745 ) from MohamedAAbdallah/ly:master into master
...
Reviewed-on: https://codeberg.org/AnErrupTion/ly/pulls/745
Reviewed-by: AnErrupTion <anerruption@disroot.org >
2025-04-05 07:37:04 +00:00
AnErrupTion
4345a99c02
Merge pull request 'Support specifying multiple directories to crawl for sessions' ( #744 ) from jack-avery/ly:multiple_session_dirs into master
...
Reviewed-on: https://codeberg.org/AnErrupTion/ly/pulls/744
Reviewed-by: AnErrupTion <anerruption@disroot.org >
2025-03-28 16:57:15 +00:00
AnErrupTion
622303d150
Merge pull request 'Separate Wayland/X11 environments in README' ( #742 ) from Chiron8/ly:master into master
...
Reviewed-on: https://codeberg.org/AnErrupTion/ly/pulls/742
Reviewed-by: AnErrupTion <anerruption@disroot.org >
2025-03-20 18:20:20 +00:00
AnErrupTion
9ded9fd765
Remove use of deprecated aliases/types + use upstream zigini
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-16 22:45:46 +01:00
AnErrupTion
13ba52319c
Clean termbox2 usage + fix animation bug
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-16 11:40:27 +01:00
AnErrupTion
1672d4a9ec
Make main code less directly dependent on termbox2
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-16 11:17:38 +01:00
AnErrupTion
e0ed1b4eb1
Add animation framework
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-16 10:54:06 +01:00
AnErrupTion
fa0748ead2
Remove unused valgrind file
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-16 09:13:01 +01:00
AnErrupTion
86ea38f460
Split session crawling from TUI component
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-16 00:24:56 +01:00
AnErrupTion
9efb734fd5
Show Ly version string at top-left
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-13 13:27:18 +01:00
AnErrupTion
5f52063835
Remove duplicate information in README
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-12 08:00:42 +01:00
AnErrupTion
548fa210c1
Update README with new build commands
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-12 07:58:37 +01:00
AnErrupTion
75975ea301
Add Niri to tested WM list
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-12 07:48:38 +01:00
AnErrupTion
8fa6b2cec9
Improve build system commands
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-07 11:03:45 +01:00
AnErrupTion
4dcef65b1c
Fix X11 session logout
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-06 23:32:23 +01:00
AnErrupTion
1eca889e45
Confirm LeftWM support ( closes #164 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-06 22:57:24 +01:00
AnErrupTion
ac1d828a5f
Stop spamming err_console_dev when first time didn't work
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-06 22:02:01 +01:00
AnErrupTion
92845268af
Add option to allow empty password or not ( closes #577 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-06 22:00:46 +01:00
AnErrupTion
6504cd0209
Mention OS in issue template
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-06 21:51:17 +01:00
AnErrupTion
a058a81ec9
Use proper input text box in issue template
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-06 21:48:40 +01:00
AnErrupTion
c6db79b873
Fix issue template
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-06 21:48:03 +01:00
AnErrupTion
932c751ac2
Stop redirecting X11 output to session log ( closes #693 , #688 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-06 21:46:40 +01:00
AnErrupTion
4599654398
Update issue template for bugs
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-06 21:41:28 +01:00
AnErrupTion
e19a23b54c
Allow using up to a UTF-32 codepoint as a password asterisk ( closes #715 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-06 21:16:24 +01:00
AnErrupTion
f2ca72eace
Add (incomplete) Chinese translation, thanks @eonun! ( closes #194 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-06 21:08:05 +01:00
AnErrupTion
4e859e56cb
Allow modifying DOOM animation fire colors ( closes #239 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-06 20:40:53 +01:00
AnErrupTion
78d64ad2a7
Possibly fix .Xresources not being loaded ( closes #600 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-06 20:06:28 +01:00
AnErrupTion
d80ec8fd1f
Allow changing matrix animation min/max codepoints ( closes #615 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-06 19:48:11 +01:00
AnErrupTion
d12fa27168
Added new error and updated French translation
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-06 19:41:05 +01:00
AnErrupTion
593a775148
Use unsigned integers only in Matrix animation
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-06 19:36:42 +01:00
AnErrupTion
6079c01a4b
Allow disabling the brightness control commands ( closes #664 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-06 19:16:47 +01:00
AnErrupTion
9c79137c9f
Remove all deprecated calls to tb_cell_buffer()
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-06 15:42:33 +01:00
AnErrupTion
9168266cca
Don't shutdown termbox2 if authentication fails
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2025-03-06 15:29:56 +01:00