about summary refs log tree commit diff stats
path: root/home-manager/config/lf/cmds/chmod
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-03-12 15:01:33 +0100
committerene <ene@sils.li>2023-03-12 15:01:33 +0100
commita6d319f865e36f1ad51532614ba74585802aebcd (patch)
treebd72deddb9f96e04adb7095f615a14d2f4010d63 /home-manager/config/lf/cmds/chmod
parentFix(hm/conf/lf): Rewrite some of the cmds (diff)
downloadnixos-config-a6d319f865e36f1ad51532614ba74585802aebcd.tar.gz
nixos-config-a6d319f865e36f1ad51532614ba74585802aebcd.zip
Fix(hm/conf/lf): Update to new shell lib version
Diffstat (limited to '')
-rwxr-xr-xhome-manager/config/lf/cmds/chmod7
1 files changed, 2 insertions, 5 deletions
diff --git a/home-manager/config/lf/cmds/chmod b/home-manager/config/lf/cmds/chmod
index 9cdebffc..ef7aeb3f 100755
--- a/home-manager/config/lf/cmds/chmod
+++ b/home-manager/config/lf/cmds/chmod
@@ -4,16 +4,13 @@
 # . ~/.local/lib/shell/lib
 . %SHELL_LIBRARY_PATH
 
-LIB_TEMP_DIR_FOR_SCRIPT=$(mktemp -d)
 
-readp "Mode Bits: " bits
 
-files=$(mktmp);
-echo "$fx" > $files;
+readp "Mode Bits: " bits
 
 while read -r file; do
     chmod "$bits" "$file"
-done < "$files"
+done < "$(tmp "echo $fx")"
 
 lf -remote 'send reload'