diff options
author | Soispha <soispha@vhack.eu> | 2023-12-29 12:26:53 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-12-29 12:26:53 +0100 |
commit | af95c08f3878b43322e76d50e821f9fe2fdff26a (patch) | |
tree | b8f1163a950143ae0c0118aa1ccf9619e535cc75 /sys | |
parent | fix(sys/svcs/xdg/portals): Set loglevel (diff) | |
download | nixos-config-af95c08f3878b43322e76d50e821f9fe2fdff26a.zip |
fix(sys/svcs/xdg/portals): Switch to trace and set correct terminal exec
Diffstat (limited to 'sys')
-rw-r--r-- | sys/svcs/xdg/default.nix | 3 | ||||
-rwxr-xr-x | sys/svcs/xdg/scripts/lf_wrapper | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/svcs/xdg/default.nix b/sys/svcs/xdg/default.nix index 8e52a5e9..eede4455 100644 --- a/sys/svcs/xdg/default.nix +++ b/sys/svcs/xdg/default.nix @@ -1,6 +1,5 @@ { pkgs, - sysLib, ... }: { services.dbus.enable = true; @@ -9,7 +8,7 @@ enable = true; termfilechooser = { enable = true; - logLevel = "DEBUG"; + logLevel = "TRACE"; settings = { filechooser = { default_dir = "/tmp"; diff --git a/sys/svcs/xdg/scripts/lf_wrapper b/sys/svcs/xdg/scripts/lf_wrapper index 326ffd3f..9395c338 100755 --- a/sys/svcs/xdg/scripts/lf_wrapper +++ b/sys/svcs/xdg/scripts/lf_wrapper @@ -62,7 +62,7 @@ else set -- -selection-path="$out" -command='set promptfmt "Select file (open file to select it) %S \033[32;1m%u@%h\033[0m:\033[34;1m%d\033[0m\033[1m%f\033[0m"' fi -"$termcmd" -- "$cmd" "$@" +"$termcmd" -e "$cmd" "$@" if [ "$save" = "1" ] && [ ! -s "$out" ]; then rm "$recommended_path" |