- Recursive invokations need to be done with --unstable
- Add zram-size declaration if it doesn't exist
- Only fetch the current size, not the entire file contents
Each newline in a just recipe instantiates a new shell unless we explicitly
define the environment. Similarly, because of this limitation, we need to
retrieve the users home directory (since we are executing this recipe with
sudo) so that it does not assume that the user is root
We will have to do this in the future for other recipes that depend on the
environment being preserved. Further, I ran into a limitation where global
env variables must be strings/characters. We can not reuse these variables
either so they must be declared for each recipe
See: https://just.systems/man/en/chapter_44.html
sudo provides built in functionality for password requests that we can use by
exporting 'SUDO_ASKPASS' and invoked by 'sudo -A'. This prevents us from having
to pipe the password to sudo
Additionally, this allows us to use ksshaskpass instead of creating a generic
kdialog. ksshaskpass has the added benefit of working directly with kwallet
Universal Blue update isn't verbose unless something is logged or an
exception is raised. Because of this, we can't just monitor its output
and increment the progress bar. Instead, we need to wait for it to
complete.
Since there isn't an entirely clean way of doing that, we'll just wait
for the creation of '/tmp/update-check'
This also removes output from the updater to ensure that formatting
stays consistent when the output is passed to Steam.
This doesn't work as intended. Each command instantiates a new shell making this
a hurdle for readability, so remove it instead and continue explicitly defining
the environment
This reverts commit 982be6c44fe65205ef6cbd59785a3883d1052ee2.
Introduces the alias 'guisu' which will handle requests for escalated
privledges in yafti going into the future. An alias is used here so that
we can use whatever implementation a DE may provide
Given there's a lot of system configuration here that is critical to
having a pristine system, make it the very first thing people see after
the welcome screen