aboutsummaryrefslogtreecommitdiff
path: root/shellrc.d/xorg
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-05-23 11:58:09 +0200
committerKarel Kočí <cynerd@email.cz>2018-05-23 11:58:09 +0200
commitf9fbee4a7c18341250973de34190b333ad563b20 (patch)
tree2e389717f918b0a467f6c130d46699442625ba7e /shellrc.d/xorg
parent6ca5af599402a9bd5f442b9d0d772223a451af72 (diff)
downloadshellrc-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/xorg5
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
}