Skip to content

Instantly share code, notes, and snippets.

@bitwhys
Created October 21, 2019 08:06
Show Gist options
  • Save bitwhys/ca9484bfcac02fef173dd0bf9c04a30a to your computer and use it in GitHub Desktop.
Save bitwhys/ca9484bfcac02fef173dd0bf9c04a30a to your computer and use it in GitHub Desktop.

Revisions

  1. George Bockari created this gist Oct 21, 2019.
    1 change: 1 addition & 0 deletions grab-screen-area.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    slop -t 0 -b 1 ; notify-send "Selection info" "Area: ${W} x ${Y}px \n Position: X = ${X}px, Y = ${Y}px" && echo ${W}x${H} | xsel -b