mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-04 20:02:10 +02:00
Merge branch 'main' of github.com:anotherhadi/nixy
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
settings = {
|
settings = {
|
||||||
window-padding-x = 10;
|
window-padding-x = 10;
|
||||||
|
confirm-close-surface = false;
|
||||||
window-padding-y = 10;
|
window-padding-y = 10;
|
||||||
keybind = [
|
keybind = [
|
||||||
"ctrl+j=goto_split:left"
|
"ctrl+j=goto_split:left"
|
||||||
|
|||||||
@@ -17,11 +17,5 @@
|
|||||||
|
|
||||||
programs.nvf = {
|
programs.nvf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.vim = {
|
|
||||||
startPlugins = [
|
|
||||||
# TODO: Change to ghostty
|
|
||||||
pkgs.vimPlugins.vim-kitty-navigator
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,33 +32,7 @@
|
|||||||
desc = "Next Buffer";
|
desc = "Next Buffer";
|
||||||
}
|
}
|
||||||
|
|
||||||
# Kitty navigator
|
# Disable Arrow Keys in Normal Mode and Middle click
|
||||||
{
|
|
||||||
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
|
|
||||||
{
|
{
|
||||||
key = "<Up>";
|
key = "<Up>";
|
||||||
mode = "n";
|
mode = "n";
|
||||||
@@ -87,6 +61,24 @@
|
|||||||
action = "<Nop>";
|
action = "<Nop>";
|
||||||
desc = "Disable Right Arrow";
|
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
|
# UI
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
programs.caelestia.settings = {
|
programs.caelestia.settings = {
|
||||||
session.commands = {
|
session.commands = {
|
||||||
logout = ["loginctl" "terminate-user" ""];
|
|
||||||
shutdown = ["systemctl" "poweroff"];
|
shutdown = ["systemctl" "poweroff"];
|
||||||
|
logout = ["loginctl" "lock-session"];
|
||||||
hibernate = ["systemctl" "hibernate"];
|
hibernate = ["systemctl" "hibernate"];
|
||||||
reboot = ["systemctl" "reboot"];
|
reboot = ["systemctl" "reboot"];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -139,10 +139,15 @@ in {
|
|||||||
gesture = "3, horizontal, workspace";
|
gesture = "3, horizontal, workspace";
|
||||||
|
|
||||||
windowrule = [
|
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, float on"
|
||||||
"match:class proton-authenticator, suppress_event maximize"
|
|
||||||
"match:class proton-authenticator, center on"
|
"match:class proton-authenticator, center on"
|
||||||
"match:class proton-authenticator, size 500 400"
|
"match:class proton-authenticator, size 500 400"
|
||||||
|
|
||||||
"match:class protonvpn-app, float on"
|
"match:class protonvpn-app, float on"
|
||||||
"match:class protonvpn-app, center on"
|
"match:class protonvpn-app, center on"
|
||||||
"match:class protonvpn-app, size 500 400"
|
"match:class protonvpn-app, size 500 400"
|
||||||
|
|||||||
@@ -51,6 +51,8 @@
|
|||||||
calibre # Ebooks
|
calibre # Ebooks
|
||||||
swappy # Screenshot tool
|
swappy # Screenshot tool
|
||||||
pinta # Image editor
|
pinta # Image editor
|
||||||
|
notesnook
|
||||||
|
element-desktop
|
||||||
|
|
||||||
# Dev
|
# Dev
|
||||||
go
|
go
|
||||||
|
|||||||
Reference in New Issue
Block a user