summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/sc
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/sc')
-rw-r--r--pkgs/by-name/sc/screenshot_persistent/package.unstable.nix (renamed from pkgs/by-name/sc/screenshot_persistent/package.nix)6
-rwxr-xr-xpkgs/by-name/sc/screenshot_persistent/screenshot_persistent.sh4
-rw-r--r--pkgs/by-name/sc/screenshot_temporary/package.unstable.nix (renamed from pkgs/by-name/sc/screenshot_temporary/package.nix)0
3 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/by-name/sc/screenshot_persistent/package.nix b/pkgs/by-name/sc/screenshot_persistent/package.unstable.nix
index 34054b0f..2413b8c4 100644
--- a/pkgs/by-name/sc/screenshot_persistent/package.nix
+++ b/pkgs/by-name/sc/screenshot_persistent/package.unstable.nix
@@ -11,7 +11,7 @@
writeShellApplication,
grim,
slurp,
- alacritty,
+ foot,
rofi,
libnotify,
lf, # TODO: add llp
@@ -22,10 +22,10 @@ writeShellApplication {
runtimeInputs = [
grim
slurp
- alacritty
+ foot
rofi
libnotify
- lf # TODO: add llp
+ lf
];
meta = {
mainProgram = "screenshot_persistent";
diff --git a/pkgs/by-name/sc/screenshot_persistent/screenshot_persistent.sh b/pkgs/by-name/sc/screenshot_persistent/screenshot_persistent.sh
index 0eeb75c0..7b1affbf 100755
--- a/pkgs/by-name/sc/screenshot_persistent/screenshot_persistent.sh
+++ b/pkgs/by-name/sc/screenshot_persistent/screenshot_persistent.sh
@@ -10,7 +10,7 @@
# shellcheck shell=bash
-tmp="$(mktemp)"
+tmp="$(mktemp -t screenshot_persistent_XXXXX)"
if grim -g "$(slurp)" "$tmp"; then
name="$(rofi -dmenu -p "Name of screenshot: " -l 0)"
@@ -22,7 +22,7 @@ if grim -g "$(slurp)" "$tmp"; then
done
mv "$tmp" "$screen_shot_path"
- alacritty --title "floating please" --command lf -command ":{{ set sortby atime; set reverse!; set info time; }}" "$screen_shot_path"
+ footclient --title "floating please" -- lf -command ":{{ set sortby atime; set reverse!; set info time; }}" "$screen_shot_path"
fi
# vim: ft=sh
diff --git a/pkgs/by-name/sc/screenshot_temporary/package.nix b/pkgs/by-name/sc/screenshot_temporary/package.unstable.nix
index 49bbeeb7..49bbeeb7 100644
--- a/pkgs/by-name/sc/screenshot_temporary/package.nix
+++ b/pkgs/by-name/sc/screenshot_temporary/package.unstable.nix