aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2023-03-21 13:19:47 +0800
committerHsieh Chin Fan <pham@topo.tw>2023-03-21 13:19:47 +0800
commit932248dbab3bc2951be7cb7c25bb6d4d20964e24 (patch)
treeaaaa19ae3cc3bf2d6ace0e62660c9332451cdeda /bin
parent62d0ac148a5dbf32f3069010d02768664898458e (diff)
Improve openbox
Diffstat (limited to 'bin')
-rwxr-xr-xbin/desktop/takeshot3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/desktop/takeshot b/bin/desktop/takeshot
index 09252f3..9f34f26 100755
--- a/bin/desktop/takeshot
+++ b/bin/desktop/takeshot
@@ -53,7 +53,8 @@ shotwin () {
53} 53}
54 54
55shotarea () { 55shotarea () {
56 cd ${dir} && maim -u -f png -s -b 2 -c 0.35,0.55,0.855 | tee "$file" | xclip -selection clipboard -t image/png 56 set -o pipefail
57 cd ${dir} && maim -u -f png -s -b 2 -c 0.35,0.55,0.855 | tee "$file" | xclip -selection clipboard -t image/png && \
57 notify_view 58 notify_view
58} 59}
59 60