From 104bf184618e8afbee9ba1998ce6dee7e8663146 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Tue, 14 Jul 2020 15:40:21 -0400 Subject: fix(gs/i3): remove implicit dependency on picom+peek This was done originally to make the snippet shareable, but is nice regardless. Change-Id: Ie51302a020cbb262b1e802e94786ebb8a9f843c8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1170 Tested-by: BuildkiteCI Reviewed-by: glittershark --- users/glittershark/system/home/modules/i3.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'users/glittershark/system/home') diff --git a/users/glittershark/system/home/modules/i3.nix b/users/glittershark/system/home/modules/i3.nix index cbb34d84c3..f5fdb3a02c 100644 --- a/users/glittershark/system/home/modules/i3.nix +++ b/users/glittershark/system/home/modules/i3.nix @@ -89,10 +89,10 @@ in { "${mod}+q" = "exec \"maim | xclip -selection clipboard -t image/png\""; "${mod}+Shift+q" = "exec \"maim -s | xclip -selection clipboard -t image/png\""; "${mod}+Ctrl+q" = "exec ${pkgs.writeShellScript "peek.sh" '' - picom & - picom_pid=$! - peek || true - kill -SIGINT $picom_pid + ${pkgs.picom}/bin/picom & + picom_pid=$! + ${pkgs.peek}/bin/peek || true + kill -SIGINT $picom_pid ''}"; # Launching applications -- cgit 1.4.1