update goto and some hyprland settings

This commit is contained in:
Kopatz
2025-12-27 11:24:23 +01:00
parent fb4caa8f03
commit 97eb78da2b
2 changed files with 7 additions and 1 deletions

View File

@@ -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"

View File

@@ -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";