Skip to content

Commit

Permalink
Fix: Reading slop output
Browse files Browse the repository at this point in the history
Fixes #2.  Thanks to @Noah2610 for reporting.
  • Loading branch information
alphapapa committed Jan 17, 2019
1 parent 7842c04 commit 5c27de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bashcaster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function set_to_screen_dimensions {

function set_with_slop {
check_program slop || return 1
read left top width height < <(slop -f '%x %y %w %h')
read left top width height <<<"$(slop -f '%x %y %w %h')"
}

function set_rectangle {
Expand Down

0 comments on commit 5c27de9

Please sign in to comment.