From ab931c4667a1f42b99b9ee8fab0798dd9b11dfce Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 26 Nov 2019 17:00:44 -0500 Subject: [PATCH] Install maim/slop instead of sandboxing scripts The init pause when invoking scr{cap,rec} is too slow. --- bin/scrcap | 3 +-- bin/scrrec | 3 +-- modules/desktop/default.nix | 2 ++ 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/scrcap b/bin/scrcap index d48de44f..2ae935c4 100755 --- a/bin/scrcap +++ b/bin/scrcap @@ -1,5 +1,4 @@ -#!/usr/bin/env nix-shell -#! nix-shell -i bash -p maim slop +#!/usr/bin/env bash # A script that takes a screenshot (prompts you for what region/window to # capture) and stores it in the clipboard. diff --git a/bin/scrrec b/bin/scrrec index 02368562..11891504 100755 --- a/bin/scrrec +++ b/bin/scrrec @@ -1,5 +1,4 @@ -#!/usr/bin/env nix-shell -#! nix-shell -i bash -p ffmpeg slop +#!/usr/bin/env bash # Select a region and record it. # diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index 73c3534e..5f0af98f 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -8,6 +8,8 @@ ffmpeg mpv # video player feh # image viewer + maim + slop # Useful apps evince # pdf reader