From eb1d06ef7fa976bd1f1ff57bbbc790f88b48214c Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Sun, 25 Feb 2024 13:43:05 +0100 Subject: remote again --- profiles/core/configuration.nix | 2 ++ profiles/core/home.nix | 1 + profiles/core/lf.nix | 11 +++-------- 3 files changed, 6 insertions(+), 8 deletions(-) (limited to 'profiles/core') diff --git a/profiles/core/configuration.nix b/profiles/core/configuration.nix index 59c5840..3a605b1 100644 --- a/profiles/core/configuration.nix +++ b/profiles/core/configuration.nix @@ -67,6 +67,8 @@ file pstree bc + mediainfo + bat ] ++ (optionals (!machine.isDarwin) [ pkgsi686Linux.glibc gdb diff --git a/profiles/core/home.nix b/profiles/core/home.nix index c27ee4a..df60ec6 100644 --- a/profiles/core/home.nix +++ b/profiles/core/home.nix @@ -8,6 +8,7 @@ programs.tmux = let config = '' set-option -g default-shell ${pkgs.bashInteractive}/bin/bash + set -g allow-passthrough set -g status off set -s set-clipboard on setw -g mouse on diff --git a/profiles/core/lf.nix b/profiles/core/lf.nix index 9092f43..9ea30b0 100644 --- a/profiles/core/lf.nix +++ b/profiles/core/lf.nix @@ -1,6 +1,9 @@ {pkgs,config,...}: { hm.home.packages = [pkgs.ueberzug pkgs.lf]; hm.xdg.configFile = { + "lf/cleaner".source = config.lib.meta.mkMutableSymlink /mut/lf/cleaner; + "lf/scope".source = config.lib.meta.mkMutableSymlink /mut/lf/scope; + "lf/lfrc".source = config.lib.meta.mkMutableSymlink /mut/lf/lfrc; "lf/icons".text = '' di 📁 fi 📃 @@ -80,13 +83,5 @@ *.jar ♨ *.java ♨ ''; - "lf/cleaner".text = '' - #!/bin/sh - if [ -n "$FIFO_UEBERZUG" ]; then - printf '{"action": "remove", "identifier": "PREVIEW"}\n' > "$FIFO_UEBERZUG" - fi - ''; - "lf/scope".source = config.lib.meta.mkMutableSymlink /mut/lf/scope; - "lf/lfrc".source = config.lib.meta.mkMutableSymlink /mut/lf/lfrc; }; } -- cgit v1.2.3