diff --git a/home/features/desktop/hyprland/config.nix b/home/features/desktop/hyprland/config.nix index 9989259..bed9c52 100644 --- a/home/features/desktop/hyprland/config.nix +++ b/home/features/desktop/hyprland/config.nix @@ -112,11 +112,13 @@ bind = [ "$mainMod, Return, exec, $terminal" "$mainMod SHIFT, C, killactive" + "$mainMod, C ,exec, hyprshade off && hyprpicker -a && hyprshade on bluelight" "$mainMod SHIFT, Q, exit" "$mainMod, T, togglefloating" "$mainMod, Space, exec, $menu" - "$mainMod, P, pseudo" # dwindle - "$mainMod, J, togglesplit" # dwindle + "$mainMod, P, pseudo" # determine subsplit + "$mainMod, F, fullscreen, 0" + "$mainMod SHIFT, F, fullscreen, 1" ", Print, exec, hyprshade off && grim -g \"$(slurp -w 0 -d)\" - | wl-copy && hyprshade on bluelight" # Move focus with mainMod + arrow keys @@ -124,6 +126,10 @@ "$mainMod, right, movefocus, r" "$mainMod, up, movefocus, u" "$mainMod, down, movefocus, d" + "$mainMod, h, movefocus, l" + "$mainMod, j, movefocus, d" + "$mainMod, k, movefocus, u" + "$mainMod, l, movefocus, r" # Switch workspaces with mainMod + [0-9] "$mainMod, 1, split:workspace, 1" @@ -149,6 +155,34 @@ "$mainMod SHIFT, 9, split:movetoworkspacesilent, 9" "$mainMod SHIFT, 0, split:movetoworkspacesilent, 10" + # window control + "$mainMod SHIFT, left, movewindow, l" + "$mainMod SHIFT, right, movewindow, r" + "$mainMod SHIFT, up, movewindow, u" + "$mainMod SHIFT, down, movewindow, d" + "$mainMod SHIFT, h, movewindow, l" + "$mainMod SHIFT, j, movewindow, d" + "$mainMod SHIFT, k, movewindow, u" + "$mainMod SHIFT, l, movewindow, r" + + "$mainMod CTRL, left, resizeactive, -80 0" + "$mainMod CTRL, right, resizeactive, 80 0" + "$mainMod CTRL, up, resizeactive, 0 -80" + "$mainMod CTRL, down, resizeactive, 0 80" + "$mainMod CTRL, h, resizeactive, -80 0" + "$mainMod CTRL, j, resizeactive, 0 80" + "$mainMod CTRL, k, resizeactive, 0 -80" + "$mainMod CTRL, l, resizeactive, 80 0" + + "$mainMod ALT, left, moveactive, -80 0" + "$mainMod ALT, right, moveactive, 80 0" + "$mainMod ALT, up, moveactive, 0 -80" + "$mainMod ALT, down, moveactive, 0 80" + "$mainMod ALT, h, moveactive, -80 0" + "$mainMod ALT, j, moveactive, 0 80" + "$mainMod ALT, k, moveactive, 0 -80" + "$mainMod ALT, l, moveactive, 80 0" + # Example special workspace (scratchpad) "$mainMod, S, togglespecialworkspace, magic" "$mainMod SHIFT, S, movetoworkspace, special:magic"