about summary refs log tree commit diff
path: root/users/glittershark/system/home/modules/i3.nix
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-07-14T19·40-0400
committerglittershark <grfn@gws.fyi>2020-07-14T19·42+0000
commit104bf184618e8afbee9ba1998ce6dee7e8663146 (patch)
tree935f06a230f37119061ac9ca68ea662e1ff53e5e /users/glittershark/system/home/modules/i3.nix
parentcbbb7a37d5891a9b0875f05873366b7eb4c923bf (diff)
fix(gs/i3): remove implicit dependency on picom+peek r/1297
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 <grfn@gws.fyi>
Diffstat (limited to 'users/glittershark/system/home/modules/i3.nix')
-rw-r--r--users/glittershark/system/home/modules/i3.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/users/glittershark/system/home/modules/i3.nix b/users/glittershark/system/home/modules/i3.nix
index cbb34d84c370..f5fdb3a02cd7 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