From 3e87972f4b71697652c2c3f10e10da65d9735de7 Mon Sep 17 00:00:00 2001 From: Ray Andrew Date: Wed, 24 Dec 2025 20:17:53 -0600 Subject: [PATCH] fix: binding incosistency --- config/aerospace/aerospace.toml | 2 +- home/i3/default.nix | 7 +++++-- nixos/keyd.nix | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/config/aerospace/aerospace.toml b/config/aerospace/aerospace.toml index f05f6bc..b1b9284 100644 --- a/config/aerospace/aerospace.toml +++ b/config/aerospace/aerospace.toml @@ -46,7 +46,7 @@ on-focus-changed = [ alt-v = 'split vertical' alt-shift-v = 'split horizontal' - alt-f = 'fullscreen' + alt-z = 'fullscreen' alt-s = 'layout v_accordion' alt-t = 'layout h_accordion' diff --git a/home/i3/default.nix b/home/i3/default.nix index c4e9d05..05e4f7c 100644 --- a/home/i3/default.nix +++ b/home/i3/default.nix @@ -112,7 +112,8 @@ in ''; windowManager.i3 = let - modifier = "Mod1"; # Alt key for i3, freeing Super for macOS-like app shortcuts + modifier = "Mod4"; # Alt key for i3, freeing Super for macOS-like app shortcuts + # superModifier = "Mod1"; powerManagementMode = " : Screen [l]ock, [e]xit, [s]uspend, [h]ibernate, [R]eboot, [S]hutdown"; miscellaneousMode = "D [p]ause, D [c]ontinue"; resizeMode = " : [h]  , [j]  , [k]  , [l] "; @@ -178,6 +179,8 @@ in "${modifier}+Shift+p" = "focus mode_toggle"; "${modifier}+Shift+c" = "reload"; "${modifier}+Shift+r" = "restart"; + "${modifier}+z" = "fullscreen"; + "${modifier}+f" = "nop"; # mode "${modifier}+r" = ''mode "${resizeMode}"''; "${modifier}+Escape" = ''mode "${powerManagementMode}"''; @@ -209,7 +212,7 @@ in # others "${modifier}+space" = "exec --no-startup-id ${dmenu}"; "${modifier}+b" = "exec --no-startup-id ${terminal} -e ${yazi}"; - "${modifier}+z" = "exec --no-startup-id ${boomer}"; # tsoding's zoom + "${modifier}+x" = "exec --no-startup-id ${boomer}"; # tsoding's zoom # "${modifier}+Shift+Return" = "exec ${second_terminal}"; # reset "${modifier}+Shift+e" = null; diff --git a/nixos/keyd.nix b/nixos/keyd.nix index c99cb94..4c2cc38 100644 --- a/nixos/keyd.nix +++ b/nixos/keyd.nix @@ -87,8 +87,8 @@ commonSettings { main = { - leftalt = "layer(meta)"; - leftmeta = "layer(alt)"; + # leftalt = "layer(meta)"; + # leftmeta = "layer(alt)"; }; } ];