remove gnome extensions

This commit is contained in:
Yan Lin 2025-11-04 11:54:56 +01:00
parent 64b4dc4b3f
commit fd5f7665e2
2 changed files with 1 additions and 58 deletions

View file

@ -48,9 +48,6 @@ in
enabled-extensions = enabled-extensions =
(lib.optionals (!cfg.alwaysShowTopBar) [ "hidetopbar@mathieu.bidon.ca" ]) (lib.optionals (!cfg.alwaysShowTopBar) [ "hidetopbar@mathieu.bidon.ca" ])
++ [ ++ [
"pano@elhan.io"
"tiling-assistant@leleat-on-github"
"rounded-window-corners@fxgn"
]; ];
favorite-apps = [ favorite-apps = [
"org.gnome.Nautilus.desktop" "org.gnome.Nautilus.desktop"
@ -70,12 +67,6 @@ in
mouse-sensitive-fullscreen-window = false; 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 # Nautilus (GNOME Files) configuration
"org/gnome/nautilus/preferences" = { "org/gnome/nautilus/preferences" = {
show-hidden-files = true; show-hidden-files = true;
@ -113,14 +104,6 @@ in
lookup-table-page-size = 7; # Number of candidates displayed (default: 5) 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 = [ "<Super>r" ]; # Top-left: Super+R
tile-topright-quarter = [ "<Super>t" ]; # Top-right: Super+T
tile-bottomleft-quarter = [ "<Super>f" ]; # Bottom-left: Super+F
tile-bottomright-quarter = [ "<Super>g" ]; # Bottom-right: Super+G
};
}; };
# IBus Mozc (Japanese) configuration - default to Hiragana input mode # IBus Mozc (Japanese) configuration - default to Hiragana input mode
@ -179,11 +162,7 @@ in
# GNOME Shell extensions and Qt theming packages # GNOME Shell extensions and Qt theming packages
home.packages = with pkgs; home.packages = with pkgs;
(lib.optionals (!cfg.alwaysShowTopBar) [ gnomeExtensions.hide-top-bar ]) (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 # Custom desktop file for opening text files with Neovim in Ghostty
home.file.".local/share/applications/nvim-ghostty.desktop".text = '' home.file.".local/share/applications/nvim-ghostty.desktop".text = ''

View file

@ -85,41 +85,5 @@ in
hicolor-icon-theme # Fallback icon theme 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 = [ "<Super>h" ]; # Tile left: Super+h
toggle-tiled-right = [ "<Super>l" ]; # Tile right: Super+l
};
# Window manager keybindings (vim-style hjkl)
"org/gnome/desktop/wm/keybindings" = {
# Window maximize/restore
maximize = [ "<Super>k" ]; # Maximize: Super+k
unmaximize = [ "<Super>j" ]; # Restore: Super+j
# Move window between monitors
move-to-monitor-left = [ "<Super><Shift>h" ]; # Move left: Super+Shift+h
move-to-monitor-right = [ "<Super><Shift>l" ]; # Move right: Super+Shift+l
move-to-monitor-up = [ "<Super><Shift>k" ]; # Move up: Super+Shift+k
move-to-monitor-down = [ "<Super><Shift>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
};
};
}];
};
}; };
} }