mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 11:36:07 +01:00
modules/android-integration: termux-reload-settings
This commit is contained in:
parent
438cf8c620
commit
e0216d3e47
6 changed files with 53 additions and 3 deletions
|
|
@ -62,6 +62,17 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
termux-reload-settings.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
example = "true";
|
||||
description = lib.mdDoc ''
|
||||
Provide a `termux-reload-settings` command
|
||||
which applies changes to font, colorscheme or terminal
|
||||
without the need to close all the sessions.
|
||||
'';
|
||||
};
|
||||
|
||||
termux-wake-lock.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
|
|
@ -112,6 +123,7 @@ in
|
|||
(ifD cfg.termux-setup-storage.enable termux-tools.setup_storage) ++
|
||||
(ifD cfg.termux-open.enable termux-tools.open) ++
|
||||
(ifD cfg.termux-open-url.enable termux-tools.open_url) ++
|
||||
(ifD cfg.termux-reload-settings.enable termux-tools.reload_settings) ++
|
||||
(ifD cfg.termux-wake-lock.enable termux-tools.wake_lock) ++
|
||||
(ifD cfg.termux-wake-unlock.enable termux-tools.wake_unlock) ++
|
||||
(ifD cfg.xdg-open.enable termux-tools.xdg_open) ++
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue