Improve ZSH experience
This commit is contained in:
parent
2b7a75aa97
commit
e8b66385c9
|
@ -8,6 +8,8 @@
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
shellIntegration.enableZshIntegration = true;
|
||||||
|
|
||||||
themeFile = "Catppuccin-Mocha";
|
themeFile = "Catppuccin-Mocha";
|
||||||
|
|
||||||
font = {
|
font = {
|
||||||
|
@ -41,10 +43,6 @@
|
||||||
"alt+2" = "goto_tab 2";
|
"alt+2" = "goto_tab 2";
|
||||||
"alt+3" = "goto_tab 3";
|
"alt+3" = "goto_tab 3";
|
||||||
"alt+4" = "goto_tab 4";
|
"alt+4" = "goto_tab 4";
|
||||||
|
|
||||||
## Unbind
|
|
||||||
"ctrl+shift+left" = "no_op";
|
|
||||||
"ctrl+shift+right" = "no_op";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
xdg.mimeApps.enable = true;
|
xdg.mimeApps.enable = true;
|
||||||
xdg.mimeApps.defaultApplications =
|
xdg.mimeApps.defaultApplications =
|
||||||
{
|
{
|
||||||
"inode/directory" = ["nemo.desktop"];
|
"inode/directory" = ["nemo.desktop"];
|
||||||
"application/x-gnome-saved-search" = ["nemo.desktop"];
|
"application/x-gnome-saved-search" = ["nemo.desktop"];
|
||||||
"application/pdf" = ["okularApplication_pdf.desktop" "org.gnome.Evince.desktop"];
|
"application/pdf" = ["okularApplication_pdf.desktop" "org.gnome.Evince.desktop"];
|
||||||
"text/plain" = ["org.gnome.TextEditor.desktop"];
|
"text/plain" = ["org.gnome.TextEditor.desktop"];
|
||||||
}
|
}
|
||||||
// builtins.listToAttrs (map (key: {
|
// builtins.listToAttrs (map (key: {
|
||||||
name = "image/${key}";
|
name = "image/${key}";
|
||||||
value = ["vimiv.desktop"];
|
value = ["vimiv.desktop"];
|
||||||
|
@ -23,6 +23,7 @@ xdg.mimeApps.enable = true;
|
||||||
distrobox
|
distrobox
|
||||||
boxbuddy
|
boxbuddy
|
||||||
evince # gnome pdf viewer
|
evince # gnome pdf viewer
|
||||||
|
eza # cool ls
|
||||||
element-desktop # Matrix client
|
element-desktop # Matrix client
|
||||||
fd # find replacement
|
fd # find replacement
|
||||||
file # Show file information
|
file # Show file information
|
||||||
|
@ -56,7 +57,7 @@ xdg.mimeApps.enable = true;
|
||||||
zenity
|
zenity
|
||||||
wdisplays
|
wdisplays
|
||||||
wireguard-tools
|
wireguard-tools
|
||||||
wtype
|
wtype
|
||||||
|
|
||||||
# Wine stuff
|
# Wine stuff
|
||||||
winetricks
|
winetricks
|
||||||
|
@ -92,5 +93,10 @@ wtype
|
||||||
xdg-utils
|
xdg-utils
|
||||||
xxd
|
xxd
|
||||||
alejandra
|
alejandra
|
||||||
|
|
||||||
|
# VPN
|
||||||
|
wireguard-tools
|
||||||
|
openconnect
|
||||||
|
networkmanager-openconnect
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
findw = "grep -rl";
|
findw = "grep -rl";
|
||||||
pdf = "tdf";
|
pdf = "tdf";
|
||||||
open = "xdg-open";
|
open = "xdg-open";
|
||||||
|
find = "fd";
|
||||||
|
|
||||||
l = "eza --icons -a --group-directories-first -1"; #EZA_ICON_SPACING=2
|
l = "eza --icons -a --group-directories-first -1"; #EZA_ICON_SPACING=2
|
||||||
ll = "eza --icons -a --group-directories-first -1 --no-user --long";
|
ll = "eza --icons -a --group-directories-first -1 --no-user --long";
|
||||||
|
@ -71,6 +72,11 @@
|
||||||
# python
|
# python
|
||||||
piv = "python -m venv .venv";
|
piv = "python -m venv .venv";
|
||||||
psv = "source .venv/bin/activate";
|
psv = "source .venv/bin/activate";
|
||||||
|
|
||||||
|
# ssh
|
||||||
|
s = "kitten ssh";
|
||||||
|
ssh = "kitten ssh";
|
||||||
|
ossh = "ssh";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue