Improve ZSH experience

This commit is contained in:
Pedro Rey Anca 2025-05-03 20:52:48 +02:00
parent 2b7a75aa97
commit e8b66385c9
Signed by: peprolinbot
GPG key ID: 053EA6E00116533A
3 changed files with 22 additions and 12 deletions

View file

@ -8,6 +8,8 @@
programs.kitty = {
enable = true;
shellIntegration.enableZshIntegration = true;
themeFile = "Catppuccin-Mocha";
font = {
@ -41,10 +43,6 @@
"alt+2" = "goto_tab 2";
"alt+3" = "goto_tab 3";
"alt+4" = "goto_tab 4";
## Unbind
"ctrl+shift+left" = "no_op";
"ctrl+shift+right" = "no_op";
};
};
}

View file

@ -1,12 +1,12 @@
{pkgs, ...}: {
xdg.mimeApps.enable = true;
xdg.mimeApps.enable = true;
xdg.mimeApps.defaultApplications =
{
"inode/directory" = ["nemo.desktop"];
"application/x-gnome-saved-search" = ["nemo.desktop"];
"application/pdf" = ["okularApplication_pdf.desktop" "org.gnome.Evince.desktop"];
"text/plain" = ["org.gnome.TextEditor.desktop"];
}
{
"inode/directory" = ["nemo.desktop"];
"application/x-gnome-saved-search" = ["nemo.desktop"];
"application/pdf" = ["okularApplication_pdf.desktop" "org.gnome.Evince.desktop"];
"text/plain" = ["org.gnome.TextEditor.desktop"];
}
// builtins.listToAttrs (map (key: {
name = "image/${key}";
value = ["vimiv.desktop"];
@ -23,6 +23,7 @@ xdg.mimeApps.enable = true;
distrobox
boxbuddy
evince # gnome pdf viewer
eza # cool ls
element-desktop # Matrix client
fd # find replacement
file # Show file information
@ -56,7 +57,7 @@ xdg.mimeApps.enable = true;
zenity
wdisplays
wireguard-tools
wtype
wtype
# Wine stuff
winetricks
@ -92,5 +93,10 @@ wtype
xdg-utils
xxd
alejandra
# VPN
wireguard-tools
openconnect
networkmanager-openconnect
];
}

View file

@ -34,6 +34,7 @@
findw = "grep -rl";
pdf = "tdf";
open = "xdg-open";
find = "fd";
l = "eza --icons -a --group-directories-first -1"; #EZA_ICON_SPACING=2
ll = "eza --icons -a --group-directories-first -1 --no-user --long";
@ -71,6 +72,11 @@
# python
piv = "python -m venv .venv";
psv = "source .venv/bin/activate";
# ssh
s = "kitten ssh";
ssh = "kitten ssh";
ossh = "ssh";
};
};