From 820e4e0e37374cac772767958105f2d41b3fd68b Mon Sep 17 00:00:00 2001 From: buffet Date: Tue, 16 Aug 2022 20:02:44 +0000 Subject: [PATCH] Make screenshot keybinds saner --- programs/sway.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/programs/sway.nix b/programs/sway.nix index 31c2a37..19d706c 100644 --- a/programs/sway.nix +++ b/programs/sway.nix @@ -101,11 +101,8 @@ "${mod}+Shift+z" = "exec ${pkgs.brightnessctl}/bin/brightnessctl s 5%-"; "${mod}+Shift+x" = "exec ${pkgs.brightnessctl}/bin/brightnessctl s 5%+"; - # TODO: saner screenshot keybinds - "${mod}+p" = "exec ${pkgs.sway-contrib.grimshot}/bin/grimshot copy active"; - "${mod}+Shift+p" = "exec ${pkgs.sway-contrib.grimshot}/bin/grimshot copy area"; - "${mod}+Alt+p" = "exec ${pkgs.sway-contrib.grimshot}/bin/grimshot copy output"; - "${mod}+Ctrl+p" = "exec ${pkgs.sway-contrib.grimshot}/bin/grimshot copy window"; + "${mod}+p" = "exec ${pkgs.sway-contrib.grimshot}/bin/grimshot copy window"; + "${mod}+Shift+p" = "exec ${pkgs.sway-contrib.grimshot}/bin/grimshot copy active"; "${mod}+o" = "splith"; "${mod}+u" = "splitv";