From 6f1201ad36c3b3781dc95f525244dfd463239868 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 18 Dec 2024 14:00:21 +0300 Subject: [PATCH] Yazi: Remove unused Init. --- home/file/default.nix | 1 - home/file/yazi/default.nix | 1 - home/file/yazi/module/Init.nix | 11 ----------- 3 files changed, 13 deletions(-) delete mode 100644 home/file/yazi/module/Init.nix diff --git a/home/file/default.nix b/home/file/default.nix index fd7817bb..feaa69fa 100644 --- a/home/file/default.nix +++ b/home/file/default.nix @@ -39,7 +39,6 @@ in ".config/tmux/tmux.conf".source = tmux.config; ".config/waybar/config".source = waybar.config; ".config/waybar/style.css".source = waybar.style; - ".config/yazi/init.lua".source = yazi.init; ".config/yazi/keymap.toml".source = yazi.keymap; ".config/yazi/theme.toml".source = yazi.theme; ".config/yazi/yazi.toml".source = yazi.yazi; diff --git a/home/file/yazi/default.nix b/home/file/yazi/default.nix index ef168cc5..754f040f 100644 --- a/home/file/yazi/default.nix +++ b/home/file/yazi/default.nix @@ -5,7 +5,6 @@ ... }@args: { - init = (import ./module/Init.nix args).file; keymap = (import ./module/Keymap.nix args).file; theme = (import ./module/Theme.nix args).file; yazi = (import ./module/Yazi.nix args).file; diff --git a/home/file/yazi/module/Init.nix b/home/file/yazi/module/Init.nix deleted file mode 100644 index 8e745c94..00000000 --- a/home/file/yazi/module/Init.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ pkgs, ... }: -{ - file = pkgs.writeText "YaziInitConfig" '' - -- Hide Status Bar. - -- function Status:render() return {} end - -- local old_manager_render = Manager.render - -- function Manager:render(area) - -- return old_manager_render(self, ui.Rect { x = area.x, y = area.y, w = area.w, h = area.h + 1 }) - -- end - ''; -}