From 9598efa9b07a7978fd587f8368274fdf0063ced6 Mon Sep 17 00:00:00 2001 From: Nathan Anderson Date: Wed, 16 Oct 2024 12:11:00 -0600 Subject: [PATCH] Fixed sway-nc, removed mako, added colemak-dh binds for window managing --- scrappy/modules/home-manager/home.nix | 40 +++++++++++++++++---------- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/scrappy/modules/home-manager/home.nix b/scrappy/modules/home-manager/home.nix index 7785059..4958d76 100644 --- a/scrappy/modules/home-manager/home.nix +++ b/scrappy/modules/home-manager/home.nix @@ -60,22 +60,22 @@ # Autostart exec-once = [ - #"waybar &" - "swaybg -i ~/.config/hypr/nix.png" - "swaync" - "nwg-panel" - # "nwg-dock-hyprland" - "nm-applet --indicator" "swaylock" + "swaybg -i ~/.config/hypr/nix.png" + "nwg-panel" + "nm-applet --indicator" + # May need to kill mako if nwg-panel starts it + "swaync" ]; - input = - { - "touchpad" = { - "natural_scroll" = true; - }; + input = { + repeat_rate = 50; + repeat_delay = 400; + touchpad = { + natural_scroll = true; }; + }; gestures = { - "workspace_swipe" = true; + workspace_swipe = true; }; general = { gaps_in = 3; @@ -112,7 +112,20 @@ "$mod Shift, right, movewindow, r" "$mod Shift, up, movewindow, u" "$mod Shift, down, movewindow, d" - #", Print, exec, grimblast copy area" + # Colemak-DH binds + "$mod, N, movefocus, l" + "$mod, O, movefocus, r" + "$mod, E, movefocus, u" + "$mod, I, movefocus, d" + "$mod Shift, N, movewindow, l" + "$mod Shift, O, movewindow, r" + "$mod Shift, E, movewindow, u" + "$mod Shift, I, movewindow, d" + # Disabled laptop keyboard + "$mod SHIFT, K, exec, hyprctl keyword 'device[at-translated-set-2-keyboard]:enabled' 'false' && notify-send 'Laptop keyboard disabled' -i nix-snowflake" + # Reload config + "$mod SHIFT, R, exec, hyprctl reload && notify-send 'Hypr Config Reloaded' -i nix-snowflake" + # Print, exec, grimblast copy area" ] ++ ( # workspaces @@ -166,7 +179,6 @@ networkmanagerapplet libnotify swaynotificationcenter - mako lynx qutebrowser brightnessctl