aboutsummaryrefslogtreecommitdiffstats
path: root/sys/svcs
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-12-29 12:26:53 +0100
committerSoispha <soispha@vhack.eu>2023-12-29 12:26:53 +0100
commitaf95c08f3878b43322e76d50e821f9fe2fdff26a (patch)
treeb8f1163a950143ae0c0118aa1ccf9619e535cc75 /sys/svcs
parentfix(sys/svcs/xdg/portals): Set loglevel (diff)
downloadnixos-config-af95c08f3878b43322e76d50e821f9fe2fdff26a.zip
fix(sys/svcs/xdg/portals): Switch to trace and set correct terminal exec
Diffstat (limited to 'sys/svcs')
-rw-r--r--sys/svcs/xdg/default.nix3
-rwxr-xr-xsys/svcs/xdg/scripts/lf_wrapper2
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"