Commit Graph

187 Commits

Author SHA1 Message Date
アシュ 00952dd8ee
Fix authentication in a few edge cases (#604)
* fix loginConv and auth

* fix potential mem leak with configs

* BIG changes
2024-05-05 09:29:05 +02:00
AnErrupTion 9df54fe980
Tidy up readme.md
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-05-04 23:12:36 +02:00
AnErrupTion 818089354a
Mention display-manager-init for Gentoo/OpenRC in readme.md
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-05-04 21:46:49 +02:00
AnErrupTion 6af4b83622
Resolve merge conflicts
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-05-04 20:54:01 +02:00
アシュ e3b960b68b
Update zig-ini to fix configuration issue (#603) 2024-05-04 20:40:51 +02:00
AnErrupTion 629749b383
Fix out of bounds issue when using the Delete key
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-05-03 20:59:30 +02:00
アシュ 5a9cc881fe
Zig 0.12.0 and more! (#599)
* less alloc, update migrator, get DesktopNames from .desktop

* small cleanup

* Update zigini to improve compatibility with old config

* Code improvements

* Update to zig version 0.12.0

* Some fixes

* tiny changes

* remove useless comment

* migrator changes, and small things

* set XDG env vars differently

* free memory on error when appending environments
2024-05-01 18:46:26 +02:00
AnErrupTion 0803de8ad3
Properly set XDG_CURRENT_DESKTOP
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-04-18 18:58:21 +02:00
アシュ 7c71dee3db
Clean up when SIGTERM is received (#597)
* clean up child processes on SIGTERM

* small code improvement

* consistency.. i guess?
2024-04-18 10:27:43 +02:00
AnErrupTion 365933e39e
Resolve conflicts
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-04-16 19:40:33 +02:00
AnErrupTion eefa06e40f
Add experimental save file migrator + bug fixes + add "-dev" version suffix
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-04-16 19:20:45 +02:00
アシュ 002630995d
Changes in the Zig rewrite (#596)
* Everything

* make matrix.zig a bit cleaner

* make long lines shorter and add changelog

* vi mode

* update changelog

* get errors from child process and (hopefully) fix some other things

* fix utmp entry

* run authentication in a child process

* update changelog

* small code improvements

* change that

* clear terminal on SIGTERM

* Remove LogFile

* moved ini to a lib, fixed alternative langs

* fix logging out

* oops

* code improvements

* consistency

* clearing the env isn't needed anymore (afaik)

* replace vi_mode with a bool

* type aliases, avoiding zeroes(), breaking a long line

* lowercase insert/normal, merge conditionals, code improvements
2024-04-16 14:45:30 +02:00
AnErrupTion d6fc781192
Oops, forgot to allocate hehe
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2023-12-31 18:24:49 +01:00
AnErrupTion 55ef58ad7e
Try to fix some more bugs
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2023-12-31 16:44:30 +01:00
AnErrupTion 74556479db
Fix some bugs (hopefully)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2023-12-31 15:48:36 +01:00
AnErrupTion c03e2e6b87
Implement more (untested) authentication code
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2023-12-31 15:09:49 +01:00
AnErrupTion 92e1f083a1
Commit unfinished full rewrite (Zig 0.11.0)
What needs to be dealt with:
- Matrix animation
- Authentication part
- Testing on actual TTY (not just virtual console)

Signed-off-by: AnErrupTion <anerruption@disroot.org>
2023-12-11 18:14:52 +01:00
Bruno Rodríguez 4ee2b3ecc7
Backup config if exists when installing (#536)
When installing, checks if `${DESTDIR}/etc/ly/config.ini` exists and
if it does, copies it to `${DESTDIR}/etc/ly/config.ini.old`
2023-09-10 15:30:47 +02:00
AnErrupTion d1cf1ebd80 Rewrite INPUTS enum in Zig 2023-07-01 01:48:48 +02:00
lolicon0930 2ca870cfc5
Check if the clock is on. (closes #521) (#522)
If the clock is on, then change the numlock and capslock state positions.
2023-06-25 21:41:38 +02:00
AnErrupTion 70770ab16b Use Zig package manager 2023-06-22 11:43:58 +02:00
AnErrupTion 40c7c27b88 Partially rewrite utils.c 2023-06-21 15:20:44 +02:00
lolicon0930 42bf929756
Add option to change shutdown/reboot keys (#487)
Include options in the configuration to change which function keys to use for shutdown and reboot.
Fix config.map_len size in src/config.c.
Add missing defaults in config_defaults() in src/config.c.
2023-06-20 13:22:38 +02:00
AnErrupTion 2fd2f77ac0 Change default fg to 8 in config.ini 2023-06-20 12:22:21 +02:00
AnErrupTion c70f8b7c2e Merge remote-tracking branch 'origin/master' into zig 2023-06-20 12:21:35 +02:00
AnErrupTion 4eb6c0c4de Add files 2023-06-20 12:14:23 +02:00
AnErrupTion f086faab58 Rewrite config.c 2023-06-20 12:14:15 +02:00
Luna Jernberg 0edb0012ab
Update sv.ini (#519)
* Update sv.ini

Better Swedish word for the context

* Update sv.ini

Fix
2023-06-18 23:08:18 +02:00
AnErrupTion 13c9aa7c1b Remove unused dependencies 2023-06-17 17:12:38 +02:00
AnErrupTion 85600ee9b3 Remove Argoat dependency 2023-06-16 11:45:07 +02:00
AnErrupTion f99468db0b Rewrite main.c 2023-06-16 11:31:57 +02:00
AnErrupTion 97da982e48 Rename sub/ to dep/, remove makefiles 2023-06-15 14:12:12 +02:00
AnErrupTion 7595e3f905 Add projects 2023-06-15 14:09:57 +02:00
AnErrupTion 825d1cf9cf Remove submodules 2023-06-15 14:06:38 +02:00
AnErrupTion 0653d710ac Remove submodules, add projects directly 2023-06-15 14:02:05 +02:00
AnErrupTion d3d9aa7b18 Add build.zig, remove makefile, add .idea directory to .gitignore 2023-06-15 13:38:09 +02:00
AnErrupTion 1c2be475ad Exit when asking for version 2023-06-15 09:30:09 +02:00
AnErrupTion d775efb414 Rename GIT_VERSION_STRING to LY_VERSION, don't allow shutdown and reboot at same time 2023-06-15 09:26:34 +02:00
AnErrupTion 57a8eecb1a Add labwc to supported DEs list 2023-06-15 09:21:26 +02:00
AnErrupTion cbd82146e2 Fix code syntax issues 2023-06-15 09:00:31 +02:00
Colin 1124c126f9
Clocks (#461)
* Added a big clock

* fixed clock timing when animation is turned off

* fix memory leak and segfault

* rename clock to bigclock

* Added formattable clock

* fix clock position on first draw

don't rely on box_x and box_y to position the clock, because it might not be initialized in the first frame.

* fix memory leak
2023-06-15 08:57:37 +02:00
AnErrupTion f9848f648b Rename "captation" to "lecture" in res/lang/fr.ini
Closes #398
2023-06-15 00:32:33 +02:00
Albert Akmukhametov 93cb8394d2
Added location of Xresources for XDG Base Dir Spec (#251) 2023-06-14 23:33:16 +02:00
Ranny Archer faa76def08
Ctrl+{hjkl} Moving cursor (but not in text) (#492) 2023-06-14 23:24:00 +02:00
AnErrupTion 0b87d6c030 Remove broken workaround for Sway in res/wsetup.sh 2023-06-14 23:19:21 +02:00
Christian Heusel 627ebe3326
update the archlinux installation instructions (#505)
Signed-off-by: Christian Heusel <christian@heusel.eu>
2023-06-14 21:42:26 +02:00
Bruno Rodríguez a8ea5d3e99
Tidy up runit service scripts (#479)
* Fix the script installation path (install everything only on /etc/sv/ly)

* Update the runit scripts to get the TTY value from the /etc/ly/config.ini file

* Update readme.md
2023-06-14 21:42:01 +02:00
Luna Jernberg 8c4ba3bd40
Add Swedish Translation (#495)
* Add Swedish Translation

Create sv.ini for Swedish translation

* Update sv.ini

Updated to some feedback from Vorpal in #archlinux-offtopic @ Libera
2023-06-14 21:36:17 +02:00
Vladyslav Prudius c03ec1d15b
Ukrainian and Russian localizations fixing (#503)
* Fix Ukrainian translation

* Fix Russian translation
2023-06-14 21:35:36 +02:00
Joseth Ariel B c64f806a68
fix typos in spanish translation (#477) 2023-01-12 21:48:57 +01:00