Commit Graph

174 Commits

Author SHA1 Message Date
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 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 0c69e0412c
Don't make errors blink by default
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-06 13:08:50 +01:00
AnErrupTion d0ccaa4d69
Enable true color output (closes #705)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-06 12:47:28 +01:00
AnErrupTion c9a416b8a2 Merge branch 'master' into winlith/colormix 2025-03-05 20:53:53 +00:00
winlith f5f7422d82 color mix animation 2025-01-17 22:37:48 +01:00
Moritz Reinel 117eccd65a rename language normalizer script 2024-10-26 13:19:33 +02:00
Moritz Reinel b6726a76c6 refactored some variables + added comments 2024-10-26 13:09:30 +02:00
Moritz Reinel 0dea19c8db remove bash version of script 2024-10-21 19:43:33 +02:00
Moritz Reinel 7a82b51ac5 Revert "remove python version of lang script"
This reverts commit 7a1fce660c.
2024-10-21 19:42:57 +02:00
Moritz Reinel fe36879dfb added note to Lang.zig and updated lang script to not process the comment 2024-10-12 22:07:29 +02:00
Moritz Reinel 47ebe641d9 remove necessity for temp file 2024-10-12 21:51:50 +02:00
Moritz Reinel 7a1fce660c remove python version of lang script 2024-10-12 21:27:19 +02:00
Moritz Reinel 06e283961d add helper script for keeping lang files in sync with Lang.zig 2024-10-12 21:26:31 +02:00
Moritz e125d8f1aa
Add error when sleep command fails (#703) 2024-10-12 20:13:25 +02:00
Claudi Lleyda Moltó 022d146f76
Update Catalan translation (#689) 2024-08-21 21:19:33 +02:00
llc0930 b84158e1c0
Add option to center env name (#683) 2024-08-09 18:44:49 +02:00
DoctorKnowsBetter c87d5b4e7a
Fix OpenRC service (#682)
Co-authored-by: Your Name <you@example.com>
2024-08-07 17:50:55 +02:00
Kian A. 00c94f8ffd
Add Farsi Bigclock (#673)
* Change config type for bigclock

* Seprates big clock's hard codes from its logic

* Adds Farsi (fa) to big clock langs

* Minor changes

* Makes requested changes
2024-08-07 16:47:27 +02:00
AnErrupTion 767bdaf166
Add session logging support
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-07 12:03:34 +02:00
AnErrupTion c033f5bd03
Use hexadecimal numbers for colors in config
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-06 19:38:02 +02:00
AnErrupTion 096b1a7d44
Refactor brightness handling code
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-06 18:40:24 +02:00
AnErrupTion f0869f0e13
Add numlock set error + handle 2 more errors
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-06 15:32:31 +02:00
AnErrupTion b5b3317dd8
Add login & logout script support
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-06 11:06:20 +02:00
AnErrupTion 2901b408dc
Arrange config alphabetically
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-06 10:07:23 +02:00
AnErrupTion 391f86f602
Delete old setup scripts
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-05 00:59:29 +02:00
AnErrupTion 6fbbb4eff0
Consolidate xsetup.sh & wsetup.sh into one file
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-05 00:58:29 +02:00
AnErrupTion 37061269a4
Remove config.save_file
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-04 17:08:50 +02:00
AnErrupTion b73c78d2fb
Remove tput dependency & use termbox2 instead
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-03 21:48:38 +02:00
AnErrupTion b18f29a81a
Load logind PAM modules before required ones
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-03 13:39:50 +02:00
AnErrupTion 8995c590eb
Fix CLI note & OpenRC service not using config directory option
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-03 08:36:26 +02:00
AnErrupTion 57d5d7497b
Fix PAM module order
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-03 07:17:06 +02:00
AnErrupTion ce3b310e58
Make authentication fail count configurable
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-02 22:31:35 +02:00
AnErrupTion 5d3cd62434
Swap /usr/bin and /usr/sbin in PATH
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-01 17:02:08 +02:00
AnErrupTion 61f3fadfbf
Make code more portable + remove mcookie usage
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-01 13:15:54 +02:00
AnErrupTion 1314c57796
Fix config.brightnessctl missing + bugs
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-01 00:54:00 +02:00
AnErrupTion 9b4d381f1e
Update zigini (fixes an escaping bug)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-01 00:18:46 +02:00
AnErrupTion bacbacd5fb
Merge branch 'master' of https://github.com/fairyglade/ly 2024-07-31 22:35:55 +02:00
AnErrupTion ee0c00574a
Patch resource files + add prefix directory
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-31 22:35:36 +02:00
ello 6df91cac12
Add an animation timeout (#659)
* added animation timeout

* Updated animation timeout to u12

* updated config comment to reflect the new range for animation timeout
2024-07-31 21:49:19 +02:00
AnErrupTion 548a411ae2
Remove maximum length config options + don't localize config parse error
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-31 14:31:28 +02:00
AnErrupTion 48f28e40c4
Fix an oopsie
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-31 14:02:43 +02:00
Joaquín Guerra 8b12ade372
Update spanish translation (#668) 2024-07-31 13:14:29 +02:00
AnErrupTion a64d7efc69
Make asterisk optional (hides password if so)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-31 10:34:27 +02:00
AnErrupTion ee488ba36e
Revert "Redirect stderr to systemd journal in service (#621)"
This reverts commit 3d8d8d67df.

Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-29 12:25:44 +02:00
Moabeat 19d4b195f3
Display error messages differently in info line (#661)
* Add list of error messages to InfoLine.zig

* Change info and error cases according to review

* Add changes from review for width calculation
2024-07-28 13:02:42 +02:00
AnErrupTion 075bf67cef
Fix missing brightness localized strings
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-28 00:09:59 +02:00
AnErrupTion 92c6a38835
Fix ~/.profile not being loaded with Fish
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-27 22:21:50 +02:00
AnErrupTion b7e1c81ad1
Re-arrange keyring PAM files + integrate with pam_systemd & elogind
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-27 20:36:45 +02:00
mietinen dc310ca80e
Unlock GNOME Keyring & KWallet on login (#496) 2024-07-27 20:35:24 +02:00
AnErrupTion 8c69472065
Allow building without X11 support
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-27 18:35:58 +02:00
AnErrupTion 0ee28927cf
Update French translation
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-27 18:15:34 +02:00
AnErrupTion b7934e42d1
Add dinit support
Co-authored-by: Simon Pflaumer <s.pflaumer@murena.io>
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-27 15:59:02 +02:00
AnErrupTion 0cead672da
Add s6 support
Co-authored-by: userbook <userbook@devuan>
Co-authored-by: TerminalJunki <158248817+TerminalJunki@users.noreply.github.com>
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-27 15:00:07 +02:00
Varun Vasan V a939b82179
Add configurable default vi mode (#660)
- `vi_default_mode` added
- supports `normal` and `insert`
2024-07-27 11:31:55 +02:00
0xNiffin 1d7a001a0b
Add customizable foreground color to CMatrix (#652)
* Final fixes, adding fg_ini as field

* Capital B changed to lowercase
2024-07-22 16:44:49 +02:00
liesen c6d7d177b7
Fix incorrect shebang in xsetup.sh (#640) 2024-07-12 22:32:46 +02:00
tubi16 dc8d143fac
Add brightness control support with brightnessctl (#626)
* Added key binds to control brightness

I added keybinds to control brightness with brightnessctl. 

F5 to decrease brightness.
f6 to increase brightness.

* Update src/main.zig

Co-authored-by: ShiningLea <anerruption@disroot.org>

* added proper keybinds and configs for brightness control

* Update src/main.zig

Co-authored-by: ShiningLea <anerruption@disroot.org>

* code improvement and changes

* updated en.ini

---------

Co-authored-by: ShiningLea <anerruption@disroot.org>
2024-07-04 13:17:56 +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
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
Jan Černý 0586f3424a
Update cs.ini (#559) 2024-05-09 20:04:35 +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
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
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
AnErrupTion 0b87d6c030 Remove broken workaround for Sway in res/wsetup.sh 2023-06-14 23:19:21 +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
AnErrupTion 33662480e9 Potential fix for Sway (closes #433) 2022-12-07 12:50:48 +01:00
Daniel Haarhoff 5db09ce104
Make it easy to install ly on runit systems e.g. void (#431)
* Make it easy to install ly on runit systems e.g. void

* Tidy up runit section in readme

Co-authored-by: Daniel Haarhoff <daniel@rknt.de>
2022-08-28 12:53:58 +02:00
ClientCrash 99edd83429
add German lang translation (#355)
* added german translation

* Replaced umlauts in german translations

Replaced umlauts in german translations with alternative spelling method to avoid any encoding problems etc.

* updated translation

Co-authored-by: Leif G <46281254+4ctiv@users.noreply.github.com>
2022-08-22 17:58:12 +02:00
Cavernosa 0cefb3da8e
OpenRC service and support for more inits (#368)
Add OpenRC service and support for other init services

Co-authored-by: Jonathan <78560204+wncry@users.noreply.github.com>
Co-authored-by: MadcowOG <null>
Co-authored-by: MadcowOG <88654251+MadcowOG@users.noreply.github.com>
2022-08-13 10:44:53 +02:00
stevensonmt 253ee005ad
Improve config documentation (#414)
* Improve config documentation

update readme to provide some direction on customization options.

* move color config info to config.ini

Info on configuring color palette moving from README to config.ini comments

* Add comments for color config
2022-08-12 22:02:22 +02:00
ShiningLea 8c536d09ed
Merge pull request #394 from hugok79/patch-1
Fix pt and pt_BR translation translation
2022-08-12 18:32:27 +02:00
ShiningLea 13020184cf
Merge pull request #362 from KR1470R/ukrainian_lang
Add Ukrainian Translation
2022-08-12 15:11:02 +02:00
ShiningLea 07ca027ac6
Merge pull request #353 from jakubhyza/master
Czech lang translation
2022-08-12 15:10:10 +02:00
Cavernosa 4208ba0e0f
Organized config.ini
Grouped related things together and changed some comments
2022-06-08 04:02:31 +00:00
Hugo Carvalho b051607c65
Fix pt and pt_BR translation translation
The "pt" translation was in brazilian portuguese as such, I correctly translated the translation to portuguese(pt) and renamed the other one to pt_BR.
2022-06-03 14:45:39 +01:00
KRIPTOR 0599af2cce
fix ukrainian_lang 2 2022-06-03 12:37:11 +03:00
Jakub Hýža f6de0eb086
Required changes - shell 2022-06-03 10:51:49 +02:00
Jakub Hýža 3c139d3eaf
Required changes 2022-06-03 10:44:35 +02:00
AnErrupTion e158bb5e9d Remove semicolons in language files 2022-06-03 10:13:54 +02:00
Utkarsh Verma 802ad7b204
Merge branch 'master' of github.com:fairyglade/ly into xinitrc 2022-06-03 07:43:36 +05:30
Utkarsh Verma 079f68696b
Make xinitrc path configurable 2022-06-03 07:43:19 +05:30
KR1470R 63aeec1869 fix ukrainian_lang 2022-05-14 17:47:50 +03:00
KR1470R 9da5a5e136 add ukrainian lang 2022-05-14 16:09:31 +03:00
Jakub Hýža c84de06b91 Czech lang 2022-05-13 07:11:32 +02:00
Turion64 78e2fd1a21
Merge pull request #297 from gerardet46/catalan-translation
Catalan translation
2022-05-13 06:42:03 +02:00
gerardet46 d29d65dee5
Remove semicolons and fixed a typo 2022-05-04 15:17:44 +02:00
Rasit 6ea31612cd
Semicolons and parentheses removed. Missing translation translated. 2022-04-26 02:43:03 +03:00
Rasit 443616e4ed
Merge branch 'fairyglade:master' into master 2022-04-26 02:39:06 +03:00
Stale 6245639daf
Matrix scrolling text animation (#283) 2022-04-24 11:54:50 +02:00