AnErrupTion
b80c276dad
Redirect X11 output to file via shell
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-08-11 18:27:58 +02:00
AnErrupTion
028cb9496a
Fix session logging for X11 (somewhat)
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-08-07 17:06:14 +02:00
AnErrupTion
2bd0d0d4f3
Don't mention log file yet in issue template
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-08-07 13:41:28 +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
1ca53f661e
Fix drawn position of sleep key hint
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-08-06 14:44:48 +02:00
AnErrupTion
8562cf4e29
Update feature request template
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-08-06 11:11:38 +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
4e40e32f59
Slightly refactor resolution check
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-08-05 18:33:22 +02:00
AnErrupTion
5e85618730
Conditionally import login_cap.h with pwd.h
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-08-05 15:16:58 +02:00
AnErrupTion
2c428f5537
Reduce dependence on tb_cell and tb_cell_buffer()
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-08-05 11:08:51 +02:00
AnErrupTion
071b7a2182
Make all colors u16
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-08-05 10:41:34 +02:00
AnErrupTion
1075c923ef
Make shell login use setup script
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-08-05 01:03:11 +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
c7f70ac78f
Handle termbox2 outside of authentication
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-08-04 20:42:00 +02:00
AnErrupTion
ef86ea19ac
Update termbox2
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-08-04 19:40:26 +02:00
AnErrupTion
37061269a4
Remove config.save_file
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-08-04 17:08:50 +02:00
AnErrupTion
7b9f03176d
FreeBSD fixes
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-08-04 11:04:23 +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
0bbe9c78dd
Reduce heap allocations a bit
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-08-03 15:17:02 +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
cab3a7d214
Delete old save file if it's been migrated
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-08-03 10:34:13 +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
d40ec873a7
Retrieve gettimeofday() from sys/time.h
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-08-01 14:23:52 +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
872b15c0d4
Fix authentication
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-08-01 00:39: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
AnErrupTion
598fa6a505
I need to stop doing this
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-31 14:32:39 +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
AnErrupTion
46f9ddd5fc
Add translatable string for config parse error
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-31 14:01:44 +02:00
AnErrupTion
a393525212
Support multiple info lines in UI
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-31 13:58:49 +02:00
AnErrupTion
961018e753
Add generic cyclable label & base session component off it
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-31 13:21:54 +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
b592a11fb0
Improve the config migrator
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-31 09:44:25 +02:00
AnErrupTion
3fedb59fdb
Make setting numlock work on BSD + less homebrew interop
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-30 18:38:21 +02:00
AnErrupTion
b1bf89a4cf
Only shutdown or restart after deinitializing everything
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-30 11:56:21 +02:00
AnErrupTion
2dec2e0b7f
Print data directory deletion in build.zig
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-30 10:54:30 +02:00
AnErrupTion
5f2f21620a
Update zigini (fixes incorrect comment parsing)
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-30 09:43:56 +02:00
AnErrupTion
48185bdfe0
More verbose output in build.zig
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-29 14:44:56 +02:00
AnErrupTion
f646dddd02
Fix clock & bigclock not updating without input
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-29 14:18:23 +02:00
AnErrupTion
c1f1c8f5c1
Use usize instead of u64 in most places for better 32-bit compatibility
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-29 13:46:14 +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
AnErrupTion
56c210372d
Better handle info line messages internally
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-28 23:05:12 +02:00
AnErrupTion
04a0ad3b33
Move Gentoo/OpenRC installation tip to the OpenRC section
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-28 18:17:14 +02:00
AnErrupTion
2dd83b41e8
Incorporate some FreeBSD authentication patches
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-28 13:15:49 +02:00
AnErrupTion
93554d9ba3
Add missing supervise symlink on runit ( fixes #610 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-28 11:34:33 +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
33791a2844
Remove changelog.md
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-28 00:06:08 +02:00
AnErrupTion
8333f7ea77
Update screenshot
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-28 00:05:37 +02:00
AnErrupTion
2bc12549a1
Switch to utmpx
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-27 23:39:09 +02:00
AnErrupTion
1df890b238
Set PAM_TTY ( fixes #248 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-27 22:31:56 +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
a7e8b55c6e
Add COSMIC in the list of tested DEs
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-27 21:13:55 +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
AnErrupTion
da2ea08078
Clarify compile-time dependencies
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-27 18:38:07 +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 and Simon Pflaumer
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 and Kevin Morris
e775827c8b
Fix possible overflow with TTY ID
...
Co-authored-by: Kevin Morris <kevr@0cost.org >
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-27 15:20:42 +02:00
AnErrupTion
9cd58123c4
Fix silly mistake
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-27 15:02:01 +02:00
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
AnErrupTion
ce90f91bbf
Add issue template for feature requests
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-27 14:16:40 +02:00
AnErrupTion
23c7175528
Make pre-requisites required
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-27 14:11:42 +02:00
AnErrupTion
5ea780f806
Continue merge
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-27 14:09:19 +02:00
AnErrupTion
2eaa473144
Add issue template
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-27 14:06:28 +02:00
AnErrupTion
2b0301c1d0
Make runit run and finish scripts executable
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-26 21:58:18 +02:00
AnErrupTion
b84e6c9eed
Use default PRNG and retrieve better seed
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-26 21:39:27 +02:00
AnErrupTion
49b8697546
Use octal prefix for file modes in build.zig
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-26 18:54:27 +02:00
AnErrupTion
cbe7b37564
Fix dest_directory embedded in binary
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-03 09:50:56 +02:00
AnErrupTion
4eb4e15e43
Start v1.1.0 development cycle
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-03 09:44:23 +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
ShiningLea and アシュ
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
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
AnErrupTion
f9848f648b
Rename "captation" to "lecture" in res/lang/fr.ini
...
Closes #398
2023-06-15 00:32:33 +02:00
AnErrupTion
0b87d6c030
Remove broken workaround for Sway in res/wsetup.sh
2023-06-14 23:19:21 +02:00
AnErrupTion
33662480e9
Potential fix for Sway ( closes #433 )
2022-12-07 12:50:48 +01:00
AnErrupTion
a7b01a721b
Increase length for UID to 20 ( closes #444 )
2022-12-07 12:35:35 +01:00
AnErrupTion
19153760d3
Fix segfault ( closes #434 , #435 )
2022-12-07 12:20:23 +01:00
AnErrupTion
354b1493c7
Merge remote-tracking branch 'origin/master'
2022-06-03 10:21:58 +02:00
AnErrupTion
7d5eb449c3
Add missing step in README
2022-06-03 10:21:51 +02:00
AnErrupTion
e158bb5e9d
Remove semicolons in language files
2022-06-03 10:13:54 +02:00
AnErrupTion
5945982d99
Merge remote-tracking branch 'origin/master'
2022-06-03 10:02:06 +02:00
AnErrupTion
723a008adf
Helpful message when doing --help ( closes #391 #390 #346 )
2022-06-03 09:59:33 +02:00
AnErrupTion
25034d1536
Set XDG_SESSION_ID to fix a few bugs
2022-04-19 21:46:40 +02:00
AnErrupTion
27c5673116
Set XDG_SESSION_TYPE earlier to fix some bugs
2022-04-19 21:36:58 +02:00