From fd5f7665e270445942c74cea86b9ad84d8a751c4 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Tue, 4 Nov 2025 11:54:56 +0100 Subject: [PATCH] remove gnome extensions --- modules/gnome/home.nix | 23 +---------------------- modules/gnome/system.nix | 36 ------------------------------------ 2 files changed, 1 insertion(+), 58 deletions(-) diff --git a/modules/gnome/home.nix b/modules/gnome/home.nix index 99f4fd8..08fd6da 100644 --- a/modules/gnome/home.nix +++ b/modules/gnome/home.nix @@ -48,9 +48,6 @@ in enabled-extensions = (lib.optionals (!cfg.alwaysShowTopBar) [ "hidetopbar@mathieu.bidon.ca" ]) ++ [ - "pano@elhan.io" - "tiling-assistant@leleat-on-github" - "rounded-window-corners@fxgn" ]; favorite-apps = [ "org.gnome.Nautilus.desktop" @@ -70,12 +67,6 @@ in mouse-sensitive-fullscreen-window = false; }; - # Pano clipboard manager configuration - "org/gnome/shell/extensions/pano" = { - send-notification-on-copy = false; # Disable notification toasts - play-audio-on-copy = false; # Disable audio feedback on copy - }; - # Nautilus (GNOME Files) configuration "org/gnome/nautilus/preferences" = { show-hidden-files = true; @@ -113,14 +104,6 @@ in lookup-table-page-size = 7; # Number of candidates displayed (default: 5) }; - # Tiling Assistant - quarter corner tiling keybindings - # Mapped to R/T/F/G keys to mirror their physical positions on keyboard - "org/gnome/shell/extensions/tiling-assistant" = { - tile-topleft-quarter = [ "r" ]; # Top-left: Super+R - tile-topright-quarter = [ "t" ]; # Top-right: Super+T - tile-bottomleft-quarter = [ "f" ]; # Bottom-left: Super+F - tile-bottomright-quarter = [ "g" ]; # Bottom-right: Super+G - }; }; # IBus Mozc (Japanese) configuration - default to Hiragana input mode @@ -179,11 +162,7 @@ in # GNOME Shell extensions and Qt theming packages home.packages = with pkgs; (lib.optionals (!cfg.alwaysShowTopBar) [ gnomeExtensions.hide-top-bar ]) - ++ [ - gnomeExtensions.pano - gnomeExtensions.tiling-assistant - gnomeExtensions.rounded-window-corners-reborn - ]; + ++ [ ]; # Custom desktop file for opening text files with Neovim in Ghostty home.file.".local/share/applications/nvim-ghostty.desktop".text = '' diff --git a/modules/gnome/system.nix b/modules/gnome/system.nix index 8b9ac35..b772818 100644 --- a/modules/gnome/system.nix +++ b/modules/gnome/system.nix @@ -85,41 +85,5 @@ in hicolor-icon-theme # Fallback icon theme ]; - # System-level dconf configuration with lockAll to prevent overrides - # This ensures keybindings persist after suspend/resume - programs.dconf = { - enable = true; - profiles.user.databases = [{ - lockAll = true; # Prevents GNOME and extensions from changing these settings - settings = { - # Mutter keybindings - window tiling (vim-style hjkl) - "org/gnome/mutter/keybindings" = { - toggle-tiled-left = [ "h" ]; # Tile left: Super+h - toggle-tiled-right = [ "l" ]; # Tile right: Super+l - }; - - # Window manager keybindings (vim-style hjkl) - "org/gnome/desktop/wm/keybindings" = { - # Window maximize/restore - maximize = [ "k" ]; # Maximize: Super+k - unmaximize = [ "j" ]; # Restore: Super+j - - # Move window between monitors - move-to-monitor-left = [ "h" ]; # Move left: Super+Shift+h - move-to-monitor-right = [ "l" ]; # Move right: Super+Shift+l - move-to-monitor-up = [ "k" ]; # Move up: Super+Shift+k - move-to-monitor-down = [ "j" ]; # Move down: Super+Shift+j - - # Disable conflicting keybindings - minimize = mkEmptyArray "s"; # Disable Super+h conflict (was minimize window) - }; - - # Disable screen lock on Super+L to free it for tiling right - "org/gnome/settings-daemon/plugins/media-keys" = { - screensaver = mkEmptyArray "s"; # Remove Super+L screen lock binding - }; - }; - }]; - }; }; }