diff --git a/hosts/fw/configuration.nix b/hosts/fw/configuration.nix index c49107c..150a625 100644 --- a/hosts/fw/configuration.nix +++ b/hosts/fw/configuration.nix @@ -480,7 +480,6 @@ with lib; yq yt-dlp yubioath-flutter - nautilus ]; programs.ydotool.enable = true; diff --git a/hosts/fw/home.nix b/hosts/fw/home.nix index ae1dce0..7d47336 100644 --- a/hosts/fw/home.nix +++ b/hosts/fw/home.nix @@ -10,7 +10,6 @@ ../../modules/home-manager/git.nix ../../modules/home-manager/ssh.nix ../../modules/home-manager/bash.nix - ../../modules/home-manager/vim-alacritty-desktop.nix ]; # This value determines the Home Manager release that your configuration is diff --git a/modules/home-manager/bash.nix b/modules/home-manager/bash.nix index 0000c74..d691982 100644 --- a/modules/home-manager/bash.nix +++ b/modules/home-manager/bash.nix @@ -69,8 +69,8 @@ local -a lines mapfile -t lines < <(command ls --color=always --quoting-style=shell-escape -lArth) - if (( ''${#lines[@]} > 10 )); then - printf '\033[7m... %d more entries ...\033[27m\n' "$(( ''${#lines[@]} - 10 ))"; + if (( ''${#lines[@]} > 5 )); then + printf '\033[7m... %d more entries ...\033[27m\n' "$(( ''${#lines[@]} - 5 ))"; printf '%s\n' "''${lines[@]: -4}" else printf '%s\n' "''${lines[@]}" diff --git a/modules/home-manager/vim-alacritty-desktop.nix b/modules/home-manager/vim-alacritty-desktop.nix deleted file mode 100644 index ca5c365..0000000 --- a/modules/home-manager/vim-alacritty-desktop.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ pkgs, ... }: - -{ - xdg.dataFile."applications/vim.desktop".text = '' - [Desktop Entry] - Type=Application - Name=Vim - GenericName=Text Editor - Comment=Edit files with Vim in Alacritty - Exec=${pkgs.alacritty}/bin/alacritty -e ${pkgs.vim}/bin/vim %F - Terminal=false - Icon=vim - Categories=Utility;TextEditor; - MimeType=application/json;application/x-docbook+xml;text/x-shellscript;application/x-shellscript;application/x-yaml;application/x-zerosize;text/markdown;text/plain;text/x-cmake;text/x-python;text/x-script.python; - NoDisplay=true - ''; -}