aboutsummaryrefslogtreecommitdiffstats
path: root/home/lf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home/lf.nix (renamed from home/lf/default.nix)3
1 files changed, 1 insertions, 2 deletions
diff --git a/home/lf/default.nix b/home/lf.nix
index dae7e7f..4923fcb 100644
--- a/home/lf/default.nix
+++ b/home/lf.nix
@@ -22,8 +22,7 @@
xdg.configFile."/home/petri/.config/lf/icons".source = ./icons;
xdg.configFile."/home/petri/.config/lf/pv.sh" = {
executable = true;
- text = ''
- #!/bin/sh
+ source = pkgs.writeShellScript "pv" ''
case "$1" in
*.jpg*) timg -I "$1";;
*.png*) timg -I "$1";;