peterc-s
7e69260511
Naming convention
2024-10-23 12:58:53 +01:00
peterc-s
1ddccf2683
Fix use after free and reintroduce code from earlier commit
2024-10-22 14:42:42 +01:00
peterc-s
798d9d934c
Removed code give up TTY and take back TTY
2024-10-22 12:26:18 +01:00
peterc-s
c54ca6761d
seems to fix segfault by not giving up control of the tty, shutting down when it's aready deferred could be the issue?
2024-10-22 12:17:22 +01:00
peterc-s
020f27b203
added refresh interval in ms for animations
2024-10-22 02:03:21 +01: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
llc0930
b84158e1c0
Add option to center env name ( #683 )
2024-08-09 18:44:49 +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
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
4e40e32f59
Slightly refactor resolution check
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-08-05 18:33:22 +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
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
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
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
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
8c69472065
Allow building without X11 support
...
Signed-off-by: AnErrupTion <anerruption@disroot.org >
2024-07-27 18:35:58 +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