diff options
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 } |