AnErrupTion
9ded9fd765
Remove use of deprecated aliases/types + use upstream zigini
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-16 22:45:46 +01:00
AnErrupTion
13ba52319c
Clean termbox2 usage + fix animation bug
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-16 11:40:27 +01:00
AnErrupTion
1672d4a9ec
Make main code less directly dependent on termbox2
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-16 11:17:38 +01:00
AnErrupTion
e0ed1b4eb1
Add animation framework
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-16 10:54:06 +01:00
AnErrupTion
86ea38f460
Split session crawling from TUI component
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-16 00:24:56 +01:00
AnErrupTion
9efb734fd5
Show Ly version string at top-left
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-13 13:27:18 +01:00
AnErrupTion
4dcef65b1c
Fix X11 session logout
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-06 23:32:23 +01:00
AnErrupTion
ac1d828a5f
Stop spamming err_console_dev when first time didn't work
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-06 22:02:01 +01:00
AnErrupTion
92845268af
Add option to allow empty password or not ( closes #577 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-06 22:00:46 +01:00
AnErrupTion
932c751ac2
Stop redirecting X11 output to session log ( closes #693 , #688 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-06 21:46:40 +01:00
AnErrupTion
e19a23b54c
Allow using up to a UTF-32 codepoint as a password asterisk ( closes #715 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-06 21:16:24 +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
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
593a775148
Use unsigned integers only in Matrix animation
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-06 19:36:42 +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
9c79137c9f
Remove all deprecated calls to tb_cell_buffer()
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-06 15:42:33 +01:00
AnErrupTion
9168266cca
Don't shutdown termbox2 if authentication fails
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-06 15:29:56 +01:00
AnErrupTion
6cb102257c
Fix Doom & Matrix animation + bug in migrator
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-06 15:27:38 +01:00
AnErrupTion
55abc4d7f1
Decouple TerminalBuffer and auth from Config
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-06 14:32:05 +01:00
AnErrupTion
f013af0dde
Fix segmentation fault when using color mix after auth
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-06 14:31:11 +01:00
AnErrupTion
973d8fe120
Don't dynamically allocate color strings
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-06 13:23:47 +01:00
AnErrupTion
3e6d7a1b3b
Forgot a file lol
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-06 13:09:19 +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
f54657432a
Don't set XDG_CURRENT_DESKTOP and XDG_SESSION_DESKTOP if they're empty ( closes #702 )
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-05 22:50:09 +01:00
AnErrupTion
24599368df
Minor changes in color mix animation
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-05 22:06:56 +01:00
AnErrupTion
c9a416b8a2
Merge branch 'master' into winlith/colormix
2025-03-05 20:53:53 +00:00
AnErrupTion
142073c362
Merge branch 'master' into moritz-reinel/03_uniform-lang-files
2025-03-05 20:26:01 +00:00
AnErrupTion
bebccf4d5a
Support Zig 0.14.0 only (with 1 downstream dependency fork)
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2025-03-05 19:42:00 +01: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
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
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
Moritz
aea95b7724
Prevent output of brightness/sleep command showing on screen (fixing #695 ) ( #699 )
...
* Prevent output of brightness cmds showing on screen (fixing #695 )
* Prevent output of sleep cmd showing on screen
2024-10-01 20:32:30 +02:00
AnErrupTion
b80c276dad
Redirect X11 output to file via shell
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-08-11 18:27:58 +02:00
llc0930
b84158e1c0
Add option to center env name ( #683 )
2024-08-09 18:44:49 +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
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
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
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
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
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
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
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
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
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
5f2f21620a
Update zigini (fixes incorrect comment parsing)
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-30 09:43: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
56c210372d
Better handle info line messages internally
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-28 23:05:12 +02:00
AnErrupTion
2dd83b41e8
Incorporate some FreeBSD authentication patches
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-28 13:15:49 +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
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
8c69472065
Allow building without X11 support
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-27 18:35:58 +02:00
AnErrupTion
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
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
AnErrupTion
b84e6c9eed
Use default PRNG and retrieve better seed
...
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-07-26 21:39:27 +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
0xNiffin
3dc1482603
fixed 'std' has no member 'ChildProcess' error when building with zig build command. ( #651 )
2024-07-17 13:27:54 +02:00
jinzhongjia
e4abf79ad5
Support Zig 0.13.0 and setting default TTY at build time ( #632 )
...
* feat: support zig `0.13.0`
* 12 compatible
* update clap
* feat: add default tty to build option
* little fix
* update `zigini`
2024-07-12 22:40:01 +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
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
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
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
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
Ranny Archer
faa76def08
Ctrl+{hjkl} Moving cursor (but not in text) ( #492 )
2023-06-14 23:24:00 +02:00
Alfred Roos
24f017e09c
Fixed wrong argument in inputs.s input_desktop ( #469 )
2022-12-08 23:29:23 +01:00
AnErrupTion
a7b01a721b
Increase length for UID to 20 ( closes #444 )
2022-12-07 12:35:35 +01:00
Simon Struck
77eb456410
Re-add missing environment variables ( #446 )
2022-12-07 12:33:12 +01:00
AnErrupTion
19153760d3
Fix segfault ( closes #434 , #435 )
2022-12-07 12:20:23 +01:00
Cavernosa
59aae77f49
Fixes for the XDG Base Dirs implementation ( #330 ) ( #419 )
...
Fix XDG Base Dirs implementation
2022-08-14 20:08:08 +02:00
ShiningLea
09ee6293bd
Merge dev into master ( closes #182 ) ( #425 )
...
Merge dev into master branch
Co-authored-by: AnErrupTion <anerruption@disroot.org>
2022-08-12 21:27:06 +02:00
ShiningLea
9364ffcea9
Merge pull request #330 from UtkarshVerma/xdg
...
Use XDG_RUNTIME_DIR for storing Xauthority
2022-06-03 10:16:37 +02:00
ShiningLea
2e1a57648b
Merge pull request #393 from UtkarshVerma/xinitrc
...
Make `xinitrc` path configurable
2022-06-03 10:04:35 +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
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
Utkarsh Verma
38aacc6b1c
Implement fallback logic for XAUTHORITY
2022-05-24 07:41:35 +05:30
Elisha Hollander
77d186b802
use `uint16_t` on `put_cell` iterations
2022-05-17 01:36:36 +03:00
Turion64
8eb487ae9e
Merge pull request #354 from SapphireAmoeba5/master
...
Make TAB key loop through U.I elements infinitely
2022-05-16 23:24:19 +02:00
Turion64
dec2ef14e0
Merge pull request #352 from kefoster951/master
...
Changed active_input selection to be based on default config
2022-05-16 23:23:26 +02:00
SapphireAmoeba5
ffa8fbe77b
Replaced 0 with SESSION_SWITCH
2022-05-13 19:03:01 -03:00
SapphireAmoeba5
ac2b255021
Make TAB key loop through U.I elements
2022-05-13 13:23:14 -03:00
kefoster951
bd04d69b4d
Changed default input to login field
2022-05-13 09:12:24 -04:00
kefoster951
a078a07ee7
Update main.c
2022-05-13 09:11:00 -04:00
Qontinuum
da5b08abf2
Check if lang is NULL and use shorter check ( #303 )
2022-05-12 22:37:43 +02:00
kefoster951
559f2f7370
Update main.c
...
changed how the curser placement works to be based on if there is a saved username or not
2022-05-12 11:05:23 -04:00
jakobrs
c0366fe805
Use tb_poll_event instead of tb_peek_event ( #320 )
...
draw_box and position_input are called because they need to be called
before *input_handles[active_input] for the cursor to be positioned
correctly.
2022-04-25 20:52:22 +02:00
Baptiste Daroussin
7ed6631197
FreeBSD deserves nice drawing as well ( #340 )
2022-04-24 12:40:08 +02: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
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
Utkarsh Verma
908ebf8964
Use XDG_RUNTIME_DIR for storing Xauthority
2022-01-02 15:55:36 +05:30
nullgemm
4094d2182a
add missing include
2021-10-07 15:58:27 +02:00
nullgemm
b448fc97b2
remove the ctypes submodule
2021-10-07 15:54:13 +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
ce785ed0dc
add ctrl-u input clearing
2020-02-03 08:51:05 +01:00
nullgemm
915ebd442f
clear password instead of free
2020-02-03 08:39:15 +01:00
nullgemm
825544f7e2
fix password not being cleared when blank_password is set
2020-02-03 08:34:42 +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
nullgemm
4882cd4548
fix wayland sessions
2020-02-01 20:16:26 +01:00
nullgemm
36b7ab0d4d
remove developement comment ( #140 )
2020-02-01 19:26:06 +01:00
nullgemm
9eb212cb91
put xauthority file in XDG_CONFIG if specified
2020-02-01 19:01:51 +01:00
Érico Nogueira Rolim
fa42781cb9
Make the project compilable with clang. ( #163 )
...
Clang generates more warning messages, such as pointing out a lack
of newline at end of file and issues with the size of a strncopy.
Moving -Wno-unused-parameter to the end of the flags avoids it being
overwritten by -Wextra.
Removing -Werror avoids compilation errors that may arise from new
compiler warnings that might come from newer versions of compilers.
2020-02-01 18:23:25 +01:00
mozartilize
ccf7911e9f
fix hidden cursor after logout ( #172 )
2020-02-01 18:14:13 +01:00
nullgemm
c83ef00099
fix language loading
2019-12-14 12:12:50 +01:00
Stuart Reilly
37fc47ef7a
Remove /usr/bin/env from default path ( #158 )
2019-12-14 11:58:30 +01:00
Stanislav Láznička
a99c18b7fa
Fix building by explicitly casting const out in config.c ( #155 )
2019-12-06 16:15:08 +01:00
Stanislav Láznička
ecaea4131b
Implement utmp audit ( #133 )
...
Implements utmp audit required by policykit.
This commit also flattens the pidtree for the DM by starting the
display environment directly in the first fork which already should
have the environment ready for this purpose. This is with the
exception of xorg environments where this can't be done that easily.
2019-12-06 16:10:27 +01:00
Roosemberth Palacios
31e1ba84af
Alloc passing the path to the configuration file as an argument ( #134 )
...
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
2019-10-31 13:54:45 +01:00
Roosemberth Palacios
f650e82f93
login.c: Do not overwrite the PATH variable if config.path element is empty ( #135 )
...
This allows disabling the feature if PATH was already set (e.g. by the systemd session
slice) and the user wishes to honor that.
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
2019-10-31 00:03:35 +01:00
Roosemberth Palacios
fe4af2bfe6
Makefile: Add config option to allow specifying a separate data directory ( #136 )
...
This allows the user to specify a different directory to store static files, such as
translations and other resources.
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
2019-10-27 16:49:55 +01:00
Stanislav Láznička
9486f05e59
cosmetic changes + enter behavior ( #126 )
...
* remove trailing whitespace
* always submit password on enter
Moves the keypress logic for keypresses from if-else statements
to switches, adds non-contextual behavior on pressing enter
* wrap pam actions and handle errors at on spot
* init all of text struct in input_text()
This gets rid off valgrind warning on unitialized variables
2019-10-04 20:50:02 +02:00
Stanislav Láznička
95c0077416
print hostname in info lane on start ( #127 )
...
hostname was set in the info_line and unset right after that
2019-10-04 20:41:56 +02:00
nullgemm
ce07938ccf
set LANG
2019-09-21 18:34:03 +02:00
nullgemm
3c20d7d47c
fix animation bug
2019-09-21 18:00:16 +02:00
nullgemm
bce0a161af
remove unused include
2019-06-26 23:11:33 +02:00
nullgemm
efc5c49de5
initial commit
2019-06-10 16:05:54 +02:00