diff options
author | ene <ene@sils.li> | 2023-03-17 17:14:04 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-03-17 17:14:04 +0100 |
commit | 255cfac07b83e1e9840f0ca4d30a67272ee12209 (patch) | |
tree | 4076adf5a9f06cb1295ce95ea82308788815de7c /home-manager/config/lf/cmds/open | |
parent | Fix(system): Remove the Intel specific things (diff) | |
download | nixos-config-255cfac07b83e1e9840f0ca4d30a67272ee12209.tar.gz nixos-config-255cfac07b83e1e9840f0ca4d30a67272ee12209.zip |
Fix(hm/conf/lf): Update to new shell lib version
Diffstat (limited to '')
-rwxr-xr-x | home-manager/config/lf/cmds/open | 4 | ||||
-rwxr-xr-x | home-manager/config/lf/cmds/open_config | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/home-manager/config/lf/cmds/open b/home-manager/config/lf/cmds/open index 78cef374..2065eee3 100755 --- a/home-manager/config/lf/cmds/open +++ b/home-manager/config/lf/cmds/open @@ -4,13 +4,9 @@ # . ~/.local/lib/shell/lib . %SHELL_LIBRARY_PATH - - case $(file --mime-type "$f" -bL) in text/*|application/json) "$EDITOR" "$f";; image/*) "$IVIEWER" "$f";; *) xdg-open "$f";; esac - -if [ -d "$LIB_TEMP_DIR_FOR_SCRIPT" ];then rm -r "$LIB_TEMP_DIR_FOR_SCRIPT"; fi # vim: ft=sh diff --git a/home-manager/config/lf/cmds/open_config b/home-manager/config/lf/cmds/open_config index d04f01b9..55ae68cb 100755 --- a/home-manager/config/lf/cmds/open_config +++ b/home-manager/config/lf/cmds/open_config @@ -4,9 +4,5 @@ # . ~/.local/lib/shell/lib . %SHELL_LIBRARY_PATH - - "$EDITOR" "$(bookmenu -b ~/.config/bookmenu/configs -f fzf -o)" # TODO implement this - -if [ -d "$LIB_TEMP_DIR_FOR_SCRIPT" ];then rm -r "$LIB_TEMP_DIR_FOR_SCRIPT"; fi # vim: ft=sh |