diff --git a/hosts/canopus/home.nix b/hosts/canopus/home.nix index 0d871ea..c316656 100644 --- a/hosts/canopus/home.nix +++ b/hosts/canopus/home.nix @@ -3,6 +3,7 @@ ../../modules/home/desktop/awesome ../../modules/home/desktop/hyprland ../../modules/home/desktop/vicinae + ../../modules/home/desktop/utils ../../modules/home/picom ../../modules/home/alacritty ../../modules/home/wezterm diff --git a/modules/home/desktop/utils/default.nix b/modules/home/desktop/utils/default.nix new file mode 100644 index 0000000..dc2c39a --- /dev/null +++ b/modules/home/desktop/utils/default.nix @@ -0,0 +1,32 @@ +{pkgs, ...}: { + programs.satty = { + enable = true; + settings = { + general = { + corner-roundness = 12; + initial-tool = "arrow"; + early-exit = true; + copy-command = "wl-copy"; + }; + + font = { + family = "JetBrainsMono NerdFont"; + }; + }; + }; + + home.packages = with pkgs; [ + grim + slurp + hyprshot + wl-clipboard + wl-screenrec + (writeShellScriptBin "hypr-screenshot" '' + hyprshot -m region -r ppm - | satty --filename - + '') + + (writeShellScriptBin "hypr-screenrecord" '' + wl-screenrec -g "$(slurp)" + '') + ]; +}