adjust gnome window management keymap
This commit is contained in:
parent
968009bffb
commit
af00015d69
2 changed files with 34 additions and 6 deletions
|
|
@ -39,6 +39,7 @@ in
|
|||
enabled-extensions = [
|
||||
"hidetopbar@mathieu.bidon.ca"
|
||||
"pano@elhan.io"
|
||||
"tiling-assistant@leleat-on-github"
|
||||
];
|
||||
favorite-apps = [
|
||||
"org.gnome.Nautilus.desktop"
|
||||
|
|
@ -102,6 +103,32 @@ in
|
|||
"com/github/libpinyin/ibus-libpinyin/libpinyin" = {
|
||||
lookup-table-page-size = 7; # Number of candidates displayed (default: 5)
|
||||
};
|
||||
|
||||
# Window tiling keybindings - vim-style with Super+HJKL
|
||||
"org/gnome/mutter/keybindings" = {
|
||||
toggle-tiled-left = [ "<Super>h" ]; # Tile left: Super+H or Super+Left
|
||||
toggle-tiled-right = [ "<Super>l" ]; # Tile right: Super+L or Super+Right
|
||||
};
|
||||
|
||||
"org/gnome/desktop/wm/keybindings" = {
|
||||
maximize = [ "<Super>k" ]; # Maximize: Super+K or Super+Up
|
||||
unmaximize = [ "<Super>j" ]; # Unmaximize: Super+J or Super+Down
|
||||
minimize = [ "<Super>m" ]; # Minimize: Super+M (was Super+H)
|
||||
};
|
||||
|
||||
# Lock screen keybinding - moved from Super+L to Super+Escape to avoid conflict
|
||||
"org/gnome/settings-daemon/plugins/media-keys" = {
|
||||
screensaver = [ "<Super>Escape" ]; # Lock screen: Super+Escape (was Super+L)
|
||||
};
|
||||
|
||||
# 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
|
||||
|
|
@ -159,6 +186,7 @@ in
|
|||
home.packages = with pkgs; [
|
||||
gnomeExtensions.hide-top-bar
|
||||
gnomeExtensions.pano
|
||||
gnomeExtensions.tiling-assistant
|
||||
];
|
||||
|
||||
# Custom desktop file for opening text files with Neovim in Ghostty
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue