From 97eb78da2bc2fd52f39d113b3270bc47dbb5e608 Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Sat, 27 Dec 2025 11:24:23 +0100 Subject: [PATCH] update goto and some hyprland settings --- home-manager/hyprland/hyprland-settings.nix | 3 +++ home-manager/zsh/default.nix | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/home-manager/hyprland/hyprland-settings.nix b/home-manager/hyprland/hyprland-settings.nix index ba5492f..1e8378f 100644 --- a/home-manager/hyprland/hyprland-settings.nix +++ b/home-manager/hyprland/hyprland-settings.nix @@ -94,6 +94,7 @@ in "XCURSOR_SIZE,24" "NIXOS_OZONE_WL,1" "GDK_SCALE,${scale}" + "SDL_VIDEO_DISPLAY_PRIORITY,${monitor1}" ] ++ lib.optionals osConfig.custom.hardware.nvidia.enable [ "LIBVA_DRIVER_NAME,nvidia" @@ -287,6 +288,8 @@ in "$mainMod CTRL, right, movewindow, r" "$mainMod CTRL, up, movewindow, u" "$mainMod CTRL, down, movewindow, d" + # would love to set this to only $mainMod, but the event doesn't come through + "$mainMod, B, global, waybar:toggle_bar" # Switch workspaces with mainMod + [0-9] "$mainMod, 1, workspace, 1" diff --git a/home-manager/zsh/default.nix b/home-manager/zsh/default.nix index d0f33c1..3e4d22d 100644 --- a/home-manager/zsh/default.nix +++ b/home-manager/zsh/default.nix @@ -43,7 +43,10 @@ update = "sudo nixos-rebuild switch"; updateFancy = "nh os switch"; updateOffline = "sudo nixos-rebuild switch --option substitute false"; - goto = "cd $(find -L ~/projects -maxdepth 2 -type d | ${pkgs.fzf}/bin/fzf)"; + goto = ''cd $(( + find -L ~/projects -maxdepth 2 -type d + find -L ~/projects/github/third-party/ -maxdepth 1 -type d +) | ${pkgs.fzf}/bin/fzf)''; dev = "nix-shell --run zsh"; rmt = "trash put"; bat = "bat -P --style plain";