Merge branch 'main' of github.com:anotherhadi/nixy

This commit is contained in:
pph
2026-02-20 15:28:06 +01:00
6 changed files with 29 additions and 35 deletions

View File

@@ -5,6 +5,7 @@
enableZshIntegration = true;
settings = {
window-padding-x = 10;
confirm-close-surface = false;
window-padding-y = 10;
keybind = [
"ctrl+j=goto_split:left"

View File

@@ -17,11 +17,5 @@
programs.nvf = {
enable = true;
settings.vim = {
startPlugins = [
# TODO: Change to ghostty
pkgs.vimPlugins.vim-kitty-navigator
];
};
};
}

View File

@@ -32,33 +32,7 @@
desc = "Next Buffer";
}
# Kitty navigator
{
key = "<C-h>";
mode = "n";
silent = true;
action = "<cmd>KittyNavigateLeft<cr>";
}
{
key = "<C-j>";
mode = "n";
silent = true;
action = "<cmd>KittyNavigateDown<cr>";
}
{
key = "<C-k>";
mode = "n";
silent = true;
action = "<cmd>KittyNavigateUp<cr>";
}
{
key = "<C-l>";
mode = "n";
silent = true;
action = "<cmd>KittyNavigateRight<cr>";
}
# Disable Arrow Keys in Normal Mode
# Disable Arrow Keys in Normal Mode and Middle click
{
key = "<Up>";
mode = "n";
@@ -87,6 +61,24 @@
action = "<Nop>";
desc = "Disable Right Arrow";
}
{
key = "<MiddleMouse>";
mode = ["n" "i" "v"]; # Normal, Insert, Visual
action = "<nop>"; # No Operation
silent = true;
}
{
key = "<2-MiddleMouse>"; # Désactive aussi le double clic molette
mode = ["n" "i" "v"];
action = "<nop>";
silent = true;
}
{
key = "<3-MiddleMouse>"; # Désactive aussi le double clic molette
mode = ["n" "i" "v"];
action = "<nop>";
silent = true;
}
# UI
{

View File

@@ -1,8 +1,8 @@
{
programs.caelestia.settings = {
session.commands = {
logout = ["loginctl" "terminate-user" ""];
shutdown = ["systemctl" "poweroff"];
logout = ["loginctl" "lock-session"];
hibernate = ["systemctl" "hibernate"];
reboot = ["systemctl" "reboot"];
};

View File

@@ -139,10 +139,15 @@ in {
gesture = "3, horizontal, workspace";
windowrule = [
"match:class .*, suppress_event maximize"
"match:class brave-browser, fullscreen_state 0 2"
"match:class brave-browser, sync_fullscreen 0"
"match:class proton-authenticator, float on"
"match:class proton-authenticator, suppress_event maximize"
"match:class proton-authenticator, center on"
"match:class proton-authenticator, size 500 400"
"match:class protonvpn-app, float on"
"match:class protonvpn-app, center on"
"match:class protonvpn-app, size 500 400"

View File

@@ -51,6 +51,8 @@
calibre # Ebooks
swappy # Screenshot tool
pinta # Image editor
notesnook
element-desktop
# Dev
go