diff --git a/modules/common.nix b/modules/common.nix index 0c77cf6..21877c3 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -183,11 +183,13 @@ ]; # ================================ - # BROWSER OPTIMIZATIONS + # ENVIRONMENT VARIABLES # ================================ - # Improve touchscreen and scrolling support in Firefox environment.sessionVariables = { + # Improve touchscreen and scrolling support in Firefox MOZ_USE_XINPUT2 = "1"; + # Screenshot directory for Hyprshot + HYPRSHOT_DIR = "$HOME/Nextcloud/Home-sync/Pictures/Screenshots"; }; # ================================ diff --git a/modules/desktops/hyprland-desktop.nix b/modules/desktops/hyprland-desktop.nix index 51a61ed..8a663a4 100644 --- a/modules/desktops/hyprland-desktop.nix +++ b/modules/desktops/hyprland-desktop.nix @@ -116,6 +116,7 @@ # ---- SCREENSHOT & RECORDING ---- grim # Screenshot tool for Wayland slurp # Screen area selection for screenshots + hyprshot # Screenshot tool for Hyprland swappy # Screenshot editing and annotation wf-recorder # Screen recording for Wayland diff --git a/modules/home/hyprland.nix b/modules/home/hyprland.nix index 5e54b35..c858e6f 100644 --- a/modules/home/hyprland.nix +++ b/modules/home/hyprland.nix @@ -84,15 +84,16 @@ in { # Bindings bind = [ - "$mod, RETURN, exec, $terminal" - "$mod, C, killactive" - "$mod, E, exec, $filemanager" - "$mod, SPACE, exec, $menu" - "$mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy" - ", Print, exec, grimblast copy area" - "$mod, F, togglefloating" + "$mod, RETURN, exec, $terminal" # Open terminal + "$mod, C, killactive" # Kill active window + "$mod, E, exec, $filemanager" # Open file manager + "$mod, SPACE, exec, $menu" # Show menu (rofi) + "$mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy" # Show Clipboard history + ", PRINT, exec, hyprshot -m region" # Screenshot region + "$mod, PRINT, exec, hyprshot -m window" # Screenshot window + "$mod, F, togglefloating" # Make active window floating "$mod, J, togglesplit, " # dwindle - "$mod, L, exec, hyprlock" + "$mod, L, exec, hyprlock" # Lock screen # Move focus with mainMod + arrow keys "$mod, left, movefocus, l" diff --git a/modules/programs.nix b/modules/programs.nix index 5254aa4..fede67b 100644 --- a/modules/programs.nix +++ b/modules/programs.nix @@ -14,6 +14,9 @@ in { # Common packages for ALL systems environment.systemPackages = with pkgs; [ + # misc + xdg-user-dirs + # networking wget whois