Add grim and slurp to hyprland for screenshots

This commit is contained in:
Evie Litherland-Smith 2023-06-06 15:51:29 +01:00
parent 9a1a5655c9
commit 8470dd12e5
2 changed files with 7 additions and 6 deletions

View file

@ -8,10 +8,12 @@
}) })
]; ];
services.blueman.enable = true; services.blueman.enable = true;
environment.systemPackages = [ environment.systemPackages = with pkgs; [
pkgs.pavucontrol pavucontrol
pkgs.pamixer pamixer
pkgs.pulseaudio pulseaudio
grim
slurp
]; ];
security.pam.services.swaylock = {}; security.pam.services.swaylock = {};
programs.hyprland = { programs.hyprland = {

View file

@ -6,8 +6,7 @@ bind = SUPER, E, exec, power-profiles
bind = SUPER, P, exec, powermenu bind = SUPER, P, exec, powermenu
bind = SUPER, V, togglefloating, bind = SUPER, V, togglefloating,
bind = SUPER, Space, exec, rofi -show drun bind = SUPER, Space, exec, rofi -show drun
bind = SUPER, S, togglegroup bind = SUPER, S, exec, grim -g "$(slurp)"
bind = SUPER SHIFT, S, changegroupactive
bind = SUPER, F1, exec, swaylock bind = SUPER, F1, exec, swaylock
bind = SUPER, W, exec, firefox bind = SUPER, W, exec, firefox
bind = SUPER, F, exec, thunar bind = SUPER, F, exec, thunar