From 3a49c4cd078ae00fa9e8522782703fc3238a3fd4 Mon Sep 17 00:00:00 2001 From: yuki Date: Tue, 12 Aug 2025 05:30:04 -0400 Subject: [PATCH] move screenshot scripts into repo --- keys | 4 ++-- scripts/scrsht.sh | 2 ++ scripts/scrshtsel.sh | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100755 scripts/scrsht.sh create mode 100755 scripts/scrshtsel.sh diff --git a/keys b/keys index 3716228..9896620 100644 --- a/keys +++ b/keys @@ -134,8 +134,8 @@ Control Mod4 F11 :TakeToWorkspace 11 Control Mod4 F12 :TakeToWorkspace 12 # screenshot -Print :Exec scrsht.sh -Shift Print :Exec scrshtsel.sh +Print :Exec ~/.fluxbox/scripts/scrsht.sh +Shift Print :Exec ~/.fluxbox/scripts/scrshtsel.sh # file manager Mod4 E :Exec thunar diff --git a/scripts/scrsht.sh b/scripts/scrsht.sh new file mode 100755 index 0000000..1e69f05 --- /dev/null +++ b/scripts/scrsht.sh @@ -0,0 +1,2 @@ +#!/bin/sh +scrot -e 'xclip -selection clipboard -t image/png -i $f' -o ~/scrsht.png diff --git a/scripts/scrshtsel.sh b/scripts/scrshtsel.sh new file mode 100755 index 0000000..8eb2248 --- /dev/null +++ b/scripts/scrshtsel.sh @@ -0,0 +1,2 @@ +#!/bin/sh +scrot -e 'xclip -selection clipboard -t image/png -i $f' -o -s ~/scrsht.png