summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-10-05 01:01:08 -0700
committerxyz <gky44px1999@gmail.com>2021-10-05 01:01:08 -0700
commite081f982f431b0e3da5305588067182162cff54d (patch)
treef8431da9a8fae658cec5ad77fad7c0c46ca7227e
parent378b26ba919ccce154395afadefbd189ec6ecd00 (diff)
sxhkdrc add hotkey for full screen screenshot
-rw-r--r--.config/sxhkd/sxhkdrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
index 8fce5bd9..005c0fb4 100644
--- a/.config/sxhkd/sxhkdrc
+++ b/.config/sxhkd/sxhkdrc
@@ -1,7 +1,10 @@
Print
- xrectsel '%w %h %x %y' | xargs sh -c 'ffmpeg -f x11grab -s "$1"x"$2" -i "$DISPLAY+$3,$4" -vframes 1 "$XDG_PICTURES_DIR/screenshots/$(time.uuid).png"' shell
+ ffmpeg -f x11grab -i "$DISPLAY" -vframes 1 "$XDG_PICTURES_DIR/screenshots/$(time.uuid).png"
alt + Print
+ xrectsel '%w %h %x %y' | xargs sh -c 'ffmpeg -f x11grab -s "$1"x"$2" -i "$DISPLAY+$3,$4" -vframes 1 "$XDG_PICTURES_DIR/screenshots/$(time.uuid).png"' shell
+
+alt + shift + Print
reco
XF86Audio{RaiseVolume,LowerVolume,Mute}