Open llc0930 opened 4 months ago
@llc0930 Hello there!
/sbin/shutdown -r now
work on your system?I think it's the same box border. I set it to use green as the foreground, however the border is white.
There is no problem with the restart function, but the screen will freeze in the ly interface during the process.
I usually uninstall and reinstall ly, but every time it prompts:
warn: /etc/ly already exists as a directory.
warn: /etc/ly/lang already exists as a directory.
Okay, I know why I keep getting that prompt...
Before executing # zig build installsystemd
, I don't need # zig build installexe
.
However, there is no progress prompt at all during the installation process, which still makes people feel empty.
After so long, I finally noticed the new setting item border_fg
.
@AnErrupTion, I thought I'd rephrase what's really problematic at the moment:
warn: openrc service not found.
warn: s6 admin service not found.
warn: dinit service not found.
@llc0930 Hey there! I've gone ahead and fixed point 3 & 4, as well as point 1 partially (only the clocks for now), in the master branch. For the build output I can't do better as Zig automatically clears its build output after it finishes, so you'll only see the list of installed/deleted files. For point 2 though, termbox2 should shutdown when restarting or shutting down via Ly (with F1/F2) which means it should also clear the screen. Doesn't that happen for you?
The installation and removal process looks much better now, but the deleted data_directory
is not printed during the removal process. Preserving the build output is not that important. If there are no errors, people usually don't notice them.
At least until I relisted the issue above, the screen didn't seem to clear immediately when restarting or shutting down via Ly.
The execution time of termbox.tb_shutdown()
seems to be too late? The execution time of this function in the old version was before the actual power management action was performed.
The execution time of
termbox.tb_shutdown()
seems to be too late? The execution time of this function in the old version was before the actual power management action was performed.
That shouldn't be the case, since when the function returns, it'll first execute all deferred statements (which includes I'm stupid. The expression in the return statement gets executed first, naturally. :) I'll fix that ASAP.tb_shutdown()
), and then it'll execute the return statement (e.g. execve("/usr/bin/shutdown")
).
There are some small problems: