Commit Graph

163 Commits

Author SHA1 Message Date
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
Raen 9fd7779972
Allow en.ini load and add config to hide f1 commands (#281) 2022-04-23 19:17:56 +02:00
Turion64 df6d906f6d
Merge pull request #245 from kpetrilli/it_language
Add IT translation
2022-04-21 21:25:03 +02:00
Turion64 c762cdc20c
Merge pull request #321 from jorrmungandrr/master
Added serbian translation
2022-04-21 21:17:39 +02:00
Turion64 d7930053c6
Merge pull request #325 from USBashka/master
Fix Russian translation
2022-04-21 21:13:26 +02:00
K0RR dc0221259f
Update pl.ini
Missed these two
2021-12-26 12:52:49 +01:00
K0RR 79a4ff470d
Create pl.ini 2021-12-26 12:50:48 +01:00
USBashka 6023565814
Fix ru translation
Replaced Е with Ё where needed
2021-12-16 23:11:36 +04:00
Јован Ђокић-Шумарац fad4e4dd84
Added serbian translation 2021-11-27 18:07:56 +01:00
00101111 9d4aea06b0 Add Turkish language 2021-10-23 19:42:03 +03:00
GerrySoft 1ca229b5c8 translation for catalan 2021-07-27 18:57:18 +02:00
kpetrilli c5012ef11b Add IT
Added translation file for Italian language
2020-10-26 16:51:05 +01:00
tyusha0 52d24304f8 Add Russian translation (#197)
Add Russian translation.
2020-07-27 18:10:48 +02:00
nullgemm 8493c5a8ad use custom pam service name 2020-04-05 11:51:41 +02:00
nullgemm 4a7c82e3e3 add /usr/sbin to default path 2020-04-05 11:37:42 +02:00
nullgemm c0328b3677 reformat romanian translation 2020-04-05 11:28:40 +02:00
Mihai Morariu 29e3ac28dd Add Romanian translation. (#177) 2020-04-05 11:16:46 +02:00
Érico Nogueira Rolim ce74c762ee Add Portuguese translation. (#180) 2020-04-05 11:14:25 +02:00
nullgemm afb6e964dd fix config entry not reflecting default setting 2020-02-03 17:49:06 +01:00
Érico Nogueira Rolim 33934f3ab2 add wayland specifier to session names (#162)
Create a config option to force ly to add " (Wayland)" to session
names, as long as those names don't already contain the string.
2020-02-03 07:20:47 +01:00
Iván faff4d21f0 fix typo in spanish translation (#159) 2019-12-16 15:03:55 +01:00
Iván 7904b07e14 Translate Ly to Spanish (#150)
Pending to test.
2019-12-14 12:16:45 +01:00
Stuart Reilly 37fc47ef7a Remove /usr/bin/env from default path (#158) 2019-12-14 11:58:30 +01:00
nullgemm 500951fa34 update xsetup #111 2019-08-24 14:06:00 +02:00
nullgemm efc5c49de5 initial commit 2019-06-10 16:05:54 +02:00