feat(user/malte): add desktop notification feedback to pueued
This commit is contained in:
parent
125e281e47
commit
abef74b9d4
|
@ -202,38 +202,8 @@ in {
|
|||
services.pueue = {
|
||||
enable = true;
|
||||
settings = {
|
||||
client = {
|
||||
dark_mode = false;
|
||||
max_status_lines = null;
|
||||
read_local_logs = true;
|
||||
restart_in_place = false;
|
||||
show_confirmation_questions = false;
|
||||
show_expanded_aliases = false;
|
||||
status_datetime_format = "%Y-%m-%d\n%H:%M:%S";
|
||||
status_time_format = "%H:%M:%S";
|
||||
};
|
||||
daemon = {
|
||||
callback = null;
|
||||
callback_log_lines = 10;
|
||||
env_vars = {};
|
||||
pause_all_on_failure = false;
|
||||
pause_group_on_failure = false;
|
||||
shell_command = null;
|
||||
};
|
||||
profiles = {};
|
||||
shared = {
|
||||
alias_file = null;
|
||||
daemon_cert = null;
|
||||
daemon_key = null;
|
||||
host = "127.0.0.1";
|
||||
pid_path = null;
|
||||
port = "6924";
|
||||
pueue_directory = null;
|
||||
runtime_directory = null;
|
||||
shared_secret_path = null;
|
||||
unix_socket_path = null;
|
||||
use_unix_socket = true;
|
||||
};
|
||||
shared = {};
|
||||
daemon.callback = "notify-send \"Task {{ id }}\nCommand: {{ command }}\nStatus '{{ result }}'\nTook: $(${pkgs.bc}/bin/bc <<< \"{{end}} - {{start}}\") seconds\"";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue