Commit Graph

191 Commits

Author SHA1 Message Date
ebits
1980b2e479 Feature: Added option for hibernate between sleep and brightness down (#867) (closes #866)
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/867
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: ebits <tspamiitesh@gmail.com>
Co-committed-by: ebits <tspamiitesh@gmail.com>
2025-11-28 19:05:17 +01:00
notiant
cc07c4870a Add option to hide CapsLock and NumLock states (#864)
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/864
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: notiant <codeberg.cizj4@simplelogin.com>
Co-committed-by: notiant <codeberg.cizj4@simplelogin.com>
2025-11-15 16:32:42 +01:00
RomanPro100
68ec85f412 Add missing Russian translations (#863)
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/863
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: RomanPro100 <romanpro100@disroot.org>
Co-committed-by: RomanPro100 <romanpro100@disroot.org>
2025-11-09 17:35:26 +01:00
Corey Newton
1537addd67 Change default session log directory to ~/.local/state (#859)
This addresses #808 and #823 conclusively for all parties.
- It requires no additional directory creation.
- It does not impact users who do not have a problem.
- It adds additional documentation detail in both the bug template and
the readme to help users who *are* having a problem.
- Fulfills the spirit of the [XDG Spec(https://specifications.freedesktop.org/basedir-spec/latest)
but not in practice as `$XDG_CONFIG_HOME` and `$HOME` and the associated
logic are not implemented. `~/.local/state` is the fallback location.

In particular, the spec indicates:
> It may contain: actions history (**logs**, history, …)

Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/859
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: Corey Newton <corey.newton@zenoprax.com>
Co-committed-by: Corey Newton <corey.newton@zenoprax.com>
2025-11-05 21:57:10 +01:00
Piotr Ginał
2da3648179 Add missing Polish translations (#861)
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/861
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: Piotr Ginał <ginal.piotr11@gmail.com>
Co-committed-by: Piotr Ginał <ginal.piotr11@gmail.com>
2025-11-03 19:45:59 +01:00
ferreo
0cf752f3b8 [Feature] Add autologin support (#841) (closes #200)
This is the simplest change I could come up with to add working autologin, only bit I really dislike is the event but it seemed like the cleanest way without refactoring.

Co-authored-by: ferreo <harderthanfire@gmail.com>
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/841
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: ferreo <ferreo@noreply.codeberg.org>
Co-committed-by: ferreo <ferreo@noreply.codeberg.org>
2025-10-25 23:09:24 +02:00
ebits
106f157a2c [Feature] Add edge margin option (#856) (closes #848)
Allows setting a balanced margin on all sides.

Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/856
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: ebits <tspamiitesh@gmail.com>
Co-committed-by: ebits <tspamiitesh@gmail.com>
2025-10-23 19:07:54 +02:00
AnErrupTion
c4b68364ef Add FreeBSD-specific PAM file
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-10-18 17:34:44 +02:00
AnErrupTion
bfb3f925d9 Use shutdown -p now on FreeBSD, update instructions
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-10-18 13:47:52 +02:00
AnErrupTion
541eae5311 Update init service for FreeBSD
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-10-18 11:23:57 +02:00
AnErrupTion
a3a8f11575 Add basic FreeBSD service, change default fallback TTY to 2
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-10-18 00:46:09 +02:00
AnErrupTion
02f5aa702d Implement /etc/login.defs in interop, TODO for FreeBSD
We should be able to parse the "minuid" and "maxuid"
values in /etc/rc.conf to get the UID range of the
system, with default values of 1000 to 32000 (as
they don't seem to be present by default).

Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-10-18 00:28:12 +02:00
AnErrupTion
412994775b Add SysVinit service (closes #224)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-10-17 23:10:52 +02:00
AnErrupTion
bb669c239c Remove config TTY options in OpenRC & runit services
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-10-17 23:08:15 +02:00
AnErrupTion
4738ca81a7 Merge changes
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-10-15 14:10:00 +02:00
Matthew Rothlisberger
1f2453f0fb Disable battery status display by default (#852)
A couple things to fix in the new battery status display configuration.

I think this should be disabled by default. My reasoning:
- Historically a conservative approach is taken with new capabilities in Ly; even the clock is disabled by default
- The existing default creates a regression (error message) for anyone without `/sys/class/power_supply/BAT0` on their system (all non-portable PCs, and laptops that use a different identifier)
- The battery status check causes animations to momentarily hang at a regular interval

Other changes:
- Comment for `battery_id` aligned with similar config switch comments (description / useful information / effect of null setting)
- `battery_id` moved to its correct alphabetical position in the config file
- Setting aligned between `Config.zig` and `config.ini` (the prototypical config file should reflect the actual default)
- Configurations prefixed with `hide_` alphabetized

Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/852
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: Matthew Rothlisberger <mattjrothlis@gmail.com>
Co-committed-by: Matthew Rothlisberger <mattjrothlis@gmail.com>
2025-10-15 13:58:04 +02:00
AnErrupTion
76da16904f Update French translation
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-10-14 21:17:58 +02:00
Galtrhan
b2f51e5bc8 Adjust Latvian translation & add missing file entries to build.zig (#850)
Change Latvian literal translation that did not quite fit the role of
username to more appropriate.

Added missing locale files to build.zig

Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/850
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: Galtrhan <galtrhan@gmail.com>
Co-committed-by: Galtrhan <galtrhan@gmail.com>
2025-10-13 21:43:46 +02:00
Galtrhan
1e2faad0f8 Add Latvian language translation (#847)
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/847
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: Galtrhan <galtrhan@gmail.com>
Co-committed-by: Galtrhan <galtrhan@gmail.com>
2025-10-12 20:57:28 +02:00
ebits
339e39d496 Adding the battery status for the top bar alongside brightness controls (closes #821) (#826)
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/826
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: ebits <tspamiitesh@gmail.com>
Co-committed-by: ebits <tspamiitesh@gmail.com>
2025-10-09 18:48:46 +02:00
mctaylors
44faa263b1 change(config): add -n flag to prevent accidental backlight disabling (#840)
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/840
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: mctaylors <cantsendmails@mctaylors.ru>
Co-committed-by: mctaylors <cantsendmails@mctaylors.ru>
2025-10-05 19:26:09 +02:00
AnErrupTion
7a0520687d Add fallback TTY option (closes #838)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-09-29 21:30:51 +02:00
AnErrupTion
a6535b9152 Update custom sessions' README
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-09-25 08:29:36 +02:00
AnErrupTion
ee97f3b5e1 Automatically detect TTY (closes #795)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-09-07 17:44:50 +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
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
KaiJan57
c7dea3c178 [dinit] fix deprecated loginready, replaced by login.target (#828)
Fixes [corresponding issue](https://codeberg.org/fairyglade/ly/issues/827#issue-2234461)

Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/828
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: KaiJan57 <kaijan57@noreply.codeberg.org>
Co-committed-by: KaiJan57 <kaijan57@noreply.codeberg.org>
2025-08-26 18:59:43 +02:00
João Lucas
b71789912d Add enable_session_log option to control session logging (#809) (fixes #808)
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/809
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: João Lucas <jlucaso@hotmail.com>
Co-committed-by: João Lucas <jlucaso@hotmail.com>
2025-08-04 00:00:18 +02:00
Matthew Rothlisberger
a7ff18aa16 Add option for eight-color terminal output (#802)
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/802
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: Matthew Rothlisberger <mattjrothlis@gmail.com>
Co-committed-by: Matthew Rothlisberger <mattjrothlis@gmail.com>
2025-08-03 23:37:53 +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
bd2d1142b2 Don't enable bigclock by default
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-08-03 13:05:28 +02:00
RadsammyT
b382d74969 bigclock: add 12-hour & seconds support (#805)
Added P,A,M characters to bigclock and added 12hr and seconds support to bigclock via `bigclock_12hr` and `bigclock_seconds` in the config.
![image](/attachments/e95accff-4822-4801-8159-94411a6c644f)
Image has bigclock_12hr and bigclock_seconds enabled.

Farsi characters for P,A,M are blank since I don't know what it would look like in their language. (should i have just used the english characters as a placeholder?)

Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/805
Reviewed-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: RadsammyT <radsammyt@gmail.com>
Co-committed-by: RadsammyT <radsammyt@gmail.com>
2025-08-03 11:16:04 +02:00
AnErrupTion
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
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
João Lucas
8030cf5244 fix: Reorder default PATH to prioritize /usr/local directories to solve
problem with archlinux
2025-07-26 19:27:36 +02:00
João Lucas
a9d85a6925 fix: duplicated entry waylandsessions 2025-07-26 13:55:48 -03:00
tyusha
3d3cf84292 fix 2025-07-25 16:41:06 +03:00
tyusha
19c879a201 update russian translation 2025-07-25 16:36:06 +03:00
darallium
c11194332c Add Japanese lang file 2025-07-19 20:44:47 +09: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
04920e1b1b Implement custom session support (fixes #757)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-07-08 22:39:14 +02:00
AnErrupTion
ce17d346e8 Remove lang.err_console_dev
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-07-08 12:45:47 +02:00
Matthew Rothlisberger
99f3ab96ba changes fire parameters 2025-07-07 21:02:58 -04:00
Matthew Rothlisberger
ab23631e66 reimplements PSX Doom fire animation; adds flame height control 2025-07-07 21:02:58 -04: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
Ireozar
7182d91b37 removed some special characters 2025-06-24 13:25:45 +02:00
Ireozar
de11ac8972 improved/added German localization 2025-06-24 12:34:41 +02:00
thoxy
9b00df4337 Merge branch 'master' into master 2025-06-17 12:36:17 +02:00
thoxy
a5e38e2ce5 Remove color randomization from Game of Life animation 2025-06-17 12:35:22 +02:00