(no title)
asimpson | 1 year ago
selection=$(slop -f %w,%h,%x,%y)
width=$(echo "${selection}" | cut -d , -f 1)
height=$(echo "${selection}" | cut -d , -f 2)
top=$(echo "${selection}" | cut -d , -f 4)
left=$(echo "${selection}" | cut -d , -f 3)
cvlc --no-video-deco --no-embedded-video --screen-fps=20 --screen-top=$top --screen-left=$left --screen-width=$width --screen-height=$height screen:// &
Then "just" share the VLC window instead of your desktop.
dctoedt|1 year ago
EDIT: As noted below by @cole-k, the situations aren't the same, because the parent comment here is talking about approximating DeskPad-like functionality on a platform not (currently) supported by DeskPad.
cole-k|1 year ago