Commit Graph

185 Commits

Author SHA1 Message Date
AnErrupTion
ea2dec50f5 Update README.md
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-02 19:40:25 +02:00
AnErrupTion
fadbbf676a Support Zig 0.13.0
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-02 19:40:09 +02:00
AnErrupTion
042aa50ff0 Start Ly v1.0.3 development cycle
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-02 19:37:11 +02:00
AnErrupTion
56202bc30e Backport: Swap /usr/bin and /usr/sbin in PATH
Signed-off-by: AnErrupTion <anerruption@disroot.org>
v1.0.2
2024-08-01 18:02:03 +02:00
AnErrupTion
7300247e57 Backport: Update zigini (fixes an escaping bug)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-01 13:29:34 +02:00
AnErrupTion
3ca2e8524b Fix mcookie usage (fixes #669)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-01 13:20:23 +02:00
AnErrupTion
40d180da63 Backport: Only shutdown or restart after deinitializing everything
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-30 12:04:25 +02:00
AnErrupTion
75cc971f9c Backport: Update zigini (fixes incorrect comment parsing)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-30 09:51:42 +02:00
AnErrupTion
9374d2df32 Backport: Fix clock & bigclock not updating without input
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-29 14:19:47 +02:00
AnErrupTion
67fd024f6a Revert "Redirect stderr to systemd journal in service (#621)"
This reverts commit 3d8d8d67df.

Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-29 13:35:04 +02:00
AnErrupTion
5796720a9c Backport: Add missing supervise symlink on runit
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-28 11:35:23 +02:00
AnErrupTion
802ad6bbed Backport: Set PAM_TTY
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-27 22:45:20 +02:00
AnErrupTion
7ece95965b Backport: Fix ~/.profile not being loaded with Fish
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-27 22:44:35 +02:00
AnErrupTion
10cd9615ef Backport: Fix possible overflow with TTY ID
Co-authored-by: Kevin Morris <kevr@0cost.org>
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-27 21:07:41 +02:00
AnErrupTion
a807e8e11c Backport: Use default PRNG and retrieve better seed
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-27 14:25:30 +02:00
AnErrupTion
d87344330a Start Ly v1.0.2 development cycle
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-27 14:18:09 +02:00
AnErrupTion
a042749a72 Backport: Make runit run and finish scripts executable
Signed-off-by: AnErrupTion <anerruption@disroot.org>
v1.0.1
2024-07-26 21:59:21 +02:00
AnErrupTion
391104cf34 Backport: Fix documentation issue about DOOM animation
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-26 19:34:46 +02:00
AnErrupTion
8e534c7bcd Backport: Fix incorrect shebang in xsetup.sh
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-26 19:34:12 +02:00
AnErrupTion
6b7e7be387 Backport: Use octal prefix for file modes in build.zig
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-26 19:32:30 +02:00
AnErrupTion
53d252232f Backport: Fix dest_directory embedded in binary
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-03 09:52:24 +02:00
AnErrupTion
5cdd6af738 Start Ly v1.0.1 development cycle
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-03 09:52:00 +02:00
jinzhongjia
08f6ce5184 Add minimum_zig_version to build.zig.zon (#630) 2024-07-03 09:22:18 +02:00
アシュ
291e0d836b Various bug fixes and small features (#606)
* Fix stray cursor, integer overflows and other bugs

* check for getenvlist error, shorten code

* fix cascade, set info_line before auth, make code clearer and a bug fix

* Add option to turn on numlock at startup

* Fix setting numlock

* Update build.zig

* Custom info text

* Shift+Tab for previous input

* update changelog and res/config

* Some fixes

* update build.zig

* update build.zig again

* Fix xauth command for some shells and fix building in ReleaseSafe

* Use git describe to get dev version str

* revert change to getLockState (it broke the doom animation)

* add new ly error messages. Only try to make path for pam/exe during install when dest_directory is defined + print warning on error.

* add warning message for workaround
v1.0.0
2024-07-02 10:52:38 +02:00
Muki Kiboigo
3d8d8d67df Redirect stderr to systemd journal in service (#621) 2024-06-19 21:49:30 +02:00
ShiningLea
7506d6a7d5 Clarify how to update + add DWL (closes #551, #547) 2024-05-09 21:09:10 +02:00
ShiningLea
a7615a33e0 Clarify status of dependencies 2024-05-09 20:25:34 +02:00
Jan Černý
0586f3424a Update cs.ini (#559) 2024-05-09 20:04:35 +02:00
Motodavide
b457b454ae Added Gentoo tip to readme.md (#591) 2024-05-09 20:03:57 +02:00
ShiningLea
d8d2d5a8bf Nobody expects the Ziguanas (#517)
* Add build.zig, remove makefile, add .idea directory to .gitignore

* Remove submodules, add projects directly

* Remove submodules

* Add projects

* Rename sub/ to dep/, remove makefiles

* Rewrite main.c

* Remove Argoat dependency

* Remove unused dependencies

* Rewrite config.c

* Add files

* Change default fg to 8 in config.ini

* Partially rewrite utils.c

* Use Zig package manager

* Rewrite INPUTS enum in Zig

* 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>

* Implement more (untested) authentication code

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Fix some bugs (hopefully)

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Try to fix some more bugs

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Oops, forgot to allocate hehe

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* 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

* Add experimental save file migrator + bug fixes + add "-dev" version suffix

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Resolve conflicts

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Clean up when SIGTERM is received (#597)

* clean up child processes on SIGTERM

* small code improvement

* consistency.. i guess?

* Properly set XDG_CURRENT_DESKTOP

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* 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

* Fix out of bounds issue when using the Delete key

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Update zig-ini to fix configuration issue (#603)

* Mention display-manager-init for Gentoo/OpenRC in readme.md

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Tidy up readme.md

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Fix authentication in a few edge cases (#604)

* fix loginConv and auth

* fix potential mem leak with configs

* BIG changes

---------

Signed-off-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: アシュ <120780645+Kawaii-Ash@users.noreply.github.com>
2024-05-09 15:30:12 +02: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
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
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
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
1c2be475ad Exit when asking for version v0.6.0 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
Alfred Roos
24f017e09c Fixed wrong argument in inputs.s input_desktop (#469) 2022-12-08 23:29:23 +01:00
AnErrupTion
33662480e9 Potential fix for Sway (closes #433) 2022-12-07 12:50:48 +01:00