summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs/simple/editor-input.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2023-09-28 23:22:59 +0200
committermakefu <github@syntax-fehler.de>2023-09-28 23:22:59 +0200
commit2db6777b7caa37477c5ffddd99d69b2f2c6d9d7f (patch)
treea72905fad73089b7ab295a948eda837bad013362 /tv/5pkgs/simple/editor-input.nix
parent29d72c898d674d2c18fc0f4a76b5e623de0c3dfe (diff)
parent0215fbddccf206801d94f52518cbfec91ccc3cc5 (diff)
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'tv/5pkgs/simple/editor-input.nix')
-rw-r--r--tv/5pkgs/simple/editor-input.nix18
1 files changed, 0 insertions, 18 deletions
diff --git a/tv/5pkgs/simple/editor-input.nix b/tv/5pkgs/simple/editor-input.nix
deleted file mode 100644
index 931179af6..000000000
--- a/tv/5pkgs/simple/editor-input.nix
+++ /dev/null
@@ -1,18 +0,0 @@
-{ pkgs }:
-pkgs.writeDashBin "editor-input" ''
- exec \
- ${pkgs.utillinux}/bin/setsid -f \
- ${pkgs.with-tmpdir}/bin/with-tmpdir -t editor-input.XXXXXXXX \
- ${pkgs.writeDash "editor-input.sh" ''
- f=$TMPDIR/input
- ${pkgs.rxvt_unicode}/bin/urxvt -name editor-input-urxvt -e \
- ${pkgs.vim}/bin/vim --cmd ':set noeol binary' -c startinsert "$f"
- if test -e "$f"; then
- ${pkgs.xsel}/bin/xsel -ip < "$f"
- ${pkgs.xsel}/bin/xsel -ib < "$f"
- ${pkgs.xdotool}/bin/xdotool key --clearmodifiers shift+Insert
- ${pkgs.xsel}/bin/xsel -dp
- ${pkgs.xsel}/bin/xsel -db
- fi
- ''}
-''