diff options
author | Karel Kočí <cynerd@email.cz> | 2018-05-23 11:58:09 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-05-23 11:58:09 +0200 |
commit | f9fbee4a7c18341250973de34190b333ad563b20 (patch) | |
tree | 2e389717f918b0a467f6c130d46699442625ba7e /shellrc.d/xorg | |
parent | 6ca5af599402a9bd5f442b9d0d772223a451af72 (diff) | |
download | shellrc-f9fbee4a7c18341250973de34190b333ad563b20.tar.gz shellrc-f9fbee4a7c18341250973de34190b333ad563b20.tar.bz2 shellrc-f9fbee4a7c18341250973de34190b333ad563b20.zip |
Change how xshot works and add xshot-desktop
Diffstat (limited to 'shellrc.d/xorg')
-rw-r--r-- | shellrc.d/xorg | 5 |
1 files changed, 4 insertions, 1 deletions
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 } |