From fb13969798fc5d317eab1300a5ee03fb449a80ee Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 11 Jan 2025 16:08:12 +0000 Subject: [PATCH] connect-page: add flameshot too --- copyparty/web/svcs.html | 16 ++++++++++++++++ copyparty/web/svcs.js | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/copyparty/web/svcs.html b/copyparty/web/svcs.html index 199abcdd..79460d93 100644 --- a/copyparty/web/svcs.html +++ b/copyparty/web/svcs.html @@ -274,6 +274,22 @@ +
+

flameshot

+ +

to upload screenshots using flameshot, save this as flameshot.sh and run it:

+ +
+                #!/bin/bash
+                pw="{{ pw }}"
+                url="http{{ s }}://{{ ep }}/{{ rvp }}"
+                filename="$(date +%Y-%m%d-%H%M%S).png"
+                flameshot gui -s -r | curl -sT- "$url$filename?want=url&pw=$pw" | xsel -ib
+            
+
+ + + π