Compare commits
No commits in common. "70f4f215c07ee582329c96e33c31d02e90f5e3af" and "0eead5161640ae8cc0122a490c1823c009b98f4a" have entirely different histories.
70f4f215c0
...
0eead51616
4 changed files with 2 additions and 21 deletions
|
|
@ -480,7 +480,6 @@ with lib;
|
||||||
yq
|
yq
|
||||||
yt-dlp
|
yt-dlp
|
||||||
yubioath-flutter
|
yubioath-flutter
|
||||||
nautilus
|
|
||||||
];
|
];
|
||||||
programs.ydotool.enable = true;
|
programs.ydotool.enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@
|
||||||
../../modules/home-manager/git.nix
|
../../modules/home-manager/git.nix
|
||||||
../../modules/home-manager/ssh.nix
|
../../modules/home-manager/ssh.nix
|
||||||
../../modules/home-manager/bash.nix
|
../../modules/home-manager/bash.nix
|
||||||
../../modules/home-manager/vim-alacritty-desktop.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# This value determines the Home Manager release that your configuration is
|
# This value determines the Home Manager release that your configuration is
|
||||||
|
|
|
||||||
|
|
@ -69,8 +69,8 @@
|
||||||
|
|
||||||
local -a lines
|
local -a lines
|
||||||
mapfile -t lines < <(command ls --color=always --quoting-style=shell-escape -lArth)
|
mapfile -t lines < <(command ls --color=always --quoting-style=shell-escape -lArth)
|
||||||
if (( ''${#lines[@]} > 10 )); then
|
if (( ''${#lines[@]} > 5 )); then
|
||||||
printf '\033[7m... %d more entries ...\033[27m\n' "$(( ''${#lines[@]} - 10 ))";
|
printf '\033[7m... %d more entries ...\033[27m\n' "$(( ''${#lines[@]} - 5 ))";
|
||||||
printf '%s\n' "''${lines[@]: -4}"
|
printf '%s\n' "''${lines[@]: -4}"
|
||||||
else
|
else
|
||||||
printf '%s\n' "''${lines[@]}"
|
printf '%s\n' "''${lines[@]}"
|
||||||
|
|
|
||||||
|
|
@ -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
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue