From f9fbee4a7c18341250973de34190b333ad563b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 23 May 2018 11:58:09 +0200 Subject: Change how xshot works and add xshot-desktop --- shellrc.d/xorg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'shellrc.d') diff --git a/shellrc.d/xorg b/shellrc.d/xorg index 2326b54..f12134b 100644 --- a/shellrc.d/xorg +++ b/shellrc.d/xorg @@ -30,5 +30,8 @@ gitmclip() { # Make screenshot xshot() { - import -window "$(xdotool selectwindow)" ~/xshot_$(date +%F_%H%M%S_%N).png + import ~/xshot_$(date +%F_%H%M%S_%N).png +} +xshot-screen() { + import -screen ~/xshot_$(date +%F_%H%M%S_%N).png } -- cgit v1.2.3