diff --git a/home/hyprland/config.nix b/home/hyprland/config.nix index 695bce27..20b0b8e4 100644 --- a/home/hyprland/config.nix +++ b/home/hyprland/config.nix @@ -18,6 +18,7 @@ in '' env = QT_QPA_PLATFORM,wayland env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 env = MOZ_ENABLE_WAYLAND,1 + env = GRIM_DEFAULT_DIR=${config.xdg.userDirs.pictures}/Screenshots exec-once = hyprctl setcursor ${cursorName} ${cursorSize} exec-once = dbus-update-activation-environment --systemd --all @@ -93,6 +94,7 @@ in '' bind = SUPER, Return, exec, alacritty # Misc useful binds + bind=,Print,exec,grim -g "$(slurp)" bind=,XF86Calculator,exec,rofi -replace -show calc # Sound diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 95ee95a8..920225b6 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -1,7 +1,7 @@ { config, lib, pkgs, ... }: { - home.packages = with pkgs; [ discord ]; + home.packages = with pkgs; [ grim slurp discord ]; imports = [ ./waybar/default.nix ./rofi/default.nix ./gtk.nix ./mako.nix ]; services = { avizo.enable = true;