diff --git a/home/config/hypr/bind.conf b/home/config/hypr/bind.conf index 52c6d64..96890c3 100755 --- a/home/config/hypr/bind.conf +++ b/home/config/hypr/bind.conf @@ -32,6 +32,10 @@ bind = $mainMod, l, movefocus, r bind = $mainMod, k, movefocus, u bind = $mainMod, j, movefocus, d +# Workspace Scroll +bind = $mainMod, mouse_down, workspace, e-1 +bind = $mainMod, mouse_up, workspace, e+1 + bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 bind = $mainMod, 3, workspace, 3 diff --git a/home/user/shell.nix b/home/user/shell.nix index dc9d55b..71918c5 100644 --- a/home/user/shell.nix +++ b/home/user/shell.nix @@ -1,4 +1,16 @@ -{ pkgs, ... }: { +{ pkgs, ... }: +let + shellAlias = { + ls = "exa"; + cat = "bat"; + rebuild = "sudo nixos-rebuild switch --flake /etc/nixos"; + fullClean = "nix-collect-garbage --delete-old && sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot"; + setWindows = "sudo bootctl set-oneshot auto-windows"; + goWin = "sudo bootctl set-oneshot auto-windows && reboot"; + goBios = "sudo bootctl set-onshot auto-reboot-to-firmware-setup && reboot"; + }; +in +{ programs = { # nushell = { # enable = true; @@ -6,6 +18,7 @@ # envFile.source = ../config/nushell/env.nu; # }; + fish = { enable = true; interactiveShellInit = ''