From cefebdbd0a5116a4f7b3cd8c65d72bf3c02455f4 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 18 Feb 2026 21:44:36 +0100 Subject: [PATCH 1/5] quit without confirmation Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- home/programs/ghostty/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home/programs/ghostty/default.nix b/home/programs/ghostty/default.nix index c56957e..172424a 100644 --- a/home/programs/ghostty/default.nix +++ b/home/programs/ghostty/default.nix @@ -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" From 0f40fccb5e88f194a175a9a3f2cfbbf48773d0fd Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 18 Feb 2026 21:44:42 +0100 Subject: [PATCH 2/5] remove usefull keymaps Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- home/programs/nvf/default.nix | 6 ----- home/programs/nvf/keymaps.nix | 46 +++++++++++++++-------------------- 2 files changed, 19 insertions(+), 33 deletions(-) diff --git a/home/programs/nvf/default.nix b/home/programs/nvf/default.nix index 0eea0ff..a7f0d8c 100644 --- a/home/programs/nvf/default.nix +++ b/home/programs/nvf/default.nix @@ -17,11 +17,5 @@ programs.nvf = { enable = true; - settings.vim = { - startPlugins = [ - # TODO: Change to ghostty - pkgs.vimPlugins.vim-kitty-navigator - ]; - }; }; } diff --git a/home/programs/nvf/keymaps.nix b/home/programs/nvf/keymaps.nix index ed34631..30622a8 100644 --- a/home/programs/nvf/keymaps.nix +++ b/home/programs/nvf/keymaps.nix @@ -32,33 +32,7 @@ desc = "Next Buffer"; } - # Kitty navigator - { - key = ""; - mode = "n"; - silent = true; - action = "KittyNavigateLeft"; - } - { - key = ""; - mode = "n"; - silent = true; - action = "KittyNavigateDown"; - } - { - key = ""; - mode = "n"; - silent = true; - action = "KittyNavigateUp"; - } - { - key = ""; - mode = "n"; - silent = true; - action = "KittyNavigateRight"; - } - - # Disable Arrow Keys in Normal Mode + # Disable Arrow Keys in Normal Mode and Middle click { key = ""; mode = "n"; @@ -87,6 +61,24 @@ action = ""; desc = "Disable Right Arrow"; } + { + key = ""; + mode = ["n" "i" "v"]; # Normal, Insert, Visual + action = ""; # No Operation + silent = true; + } + { + key = "<2-MiddleMouse>"; # Désactive aussi le double clic molette + mode = ["n" "i" "v"]; + action = ""; + silent = true; + } + { + key = "<3-MiddleMouse>"; # Désactive aussi le double clic molette + mode = ["n" "i" "v"]; + action = ""; + silent = true; + } # UI { From 76e3368f3ed9b7f3fae205b114821f0f92c7d060 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 18 Feb 2026 21:44:48 +0100 Subject: [PATCH 3/5] lock instead of logout Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- home/system/caelestia-shell/launcher.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/system/caelestia-shell/launcher.nix b/home/system/caelestia-shell/launcher.nix index 149f59a..8a51316 100644 --- a/home/system/caelestia-shell/launcher.nix +++ b/home/system/caelestia-shell/launcher.nix @@ -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"]; }; From 89413d06a82a3952f64c1f2a72a5c48f93b0f108 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 18 Feb 2026 21:44:57 +0100 Subject: [PATCH 4/5] add apps Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- hosts/laptop/home.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index de1aadc..2cb9d5d 100644 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -51,6 +51,8 @@ calibre # Ebooks swappy # Screenshot tool pinta # Image editor + notesnook + element-desktop # Dev go From 3d4099c97b775492855919e8c3c5e78b68087600 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Thu, 19 Feb 2026 20:29:03 +0100 Subject: [PATCH 5/5] Fix brave fullscreen Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- home/system/hyprland/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/home/system/hyprland/default.nix b/home/system/hyprland/default.nix index 51aec9c..708512f 100644 --- a/home/system/hyprland/default.nix +++ b/home/system/hyprland/default.nix @@ -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"