scrotup

Submitted scripts and programs
Forum rules
Your own work only.
User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

scrotup

Unread post by dkeg » Mon May 25, 2015 7:47 pm

Just something I wrote messing around. I wrote it initially with no option, but stark asked if there was a choice to upload, so here is my implementation of that. It may or may not work for you. Or you will be required to make adjustments. Don't get me wrong, I completely understand this is totally elementary and simplistic, but it was still fun to write.

About: Take a scrot, preview it, choose to upload to imgur. Check out the webm

If your interested, you can find it here

Work hard; Complain less

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: scrotup

Unread post by rhowaldt » Mon May 25, 2015 8:40 pm

looks cool drew! i see it needs popbatt script - could you post that as well for reference? i suppose it is basically a call to lemonbar, no?
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: scrotup

Unread post by dkeg » Mon May 25, 2015 10:39 pm

Thanks rho, I edited the OP. Let me know if you want thing else.

Work hard; Complain less

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: scrotup

Unread post by dkeg » Tue May 26, 2015 2:58 am

updated OP and script version. Added a check that usage was correct.

Work hard; Complain less

User avatar
stark
MILF
Posts: 521
Joined: Sat Sep 27, 2014 6:38 pm
Location: Arpanet
Contact:

Re: scrotup

Unread post by stark » Tue May 26, 2015 7:32 am

This is WAY better than what I was trying to do, Thanks for sharing dkeg ! :)
If you can do it go ahead and do it, if you can't do it then don't even criticize it. - gingerdesu

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: scrotup

Unread post by dkeg » Tue May 26, 2015 1:01 pm

Thanks! I'm going to update it later. On 'exit' option delete the scrot

Work hard; Complain less

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: scrotup

Unread post by wuxmedia » Tue May 26, 2015 2:06 pm

sexy. nice scripts :)
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: scrotup

Unread post by dkeg » Wed May 27, 2015 11:24 am

Made some improvements. Updated OP. Also although I would kick you out if no param valued, it would still take the scrot and name as YYYY-DD .... etc b/c I was using 'scrot'. I added a check to verify the param before taking the scrot.

Work hard; Complain less

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: scrotup

Unread post by rhowaldt » Wed May 27, 2015 9:27 pm

tnxxx Drew!
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: scrotup

Unread post by dkeg » Wed May 27, 2015 11:17 pm

Sure! I hope you can get some use out of it.

Work hard; Complain less

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: scrotup

Unread post by dkeg » Sat May 30, 2015 9:31 pm

Added an update to OP. Added option to choose directory to save to with validation checks.

Work hard; Complain less

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: scrotup

Unread post by dkeg » Sun May 31, 2015 11:58 pm

Another version. I'm bored and need to take my mind away. For kicks, this is how the project started

Code: Select all

scrot $1 && imgur upload $1 -t $1 
So fun.

Work hard; Complain less

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: scrotup

Unread post by ChefIronBelly » Mon Jun 01, 2015 8:09 pm

me likes me use thanks
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: scrotup

Unread post by dkeg » Tue Jun 02, 2015 1:49 am

Excellent. I'm glad it works for you.

Work hard; Complain less

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: scrotup

Unread post by dkeg » Wed Jul 15, 2015 7:01 pm

updated. On selection of 'a' the script could no longer find the file to upload b/c it was moved. Doh! I fixed it. Yay!

Work hard; Complain less

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: scrotup

Unread post by dkeg » Wed Jul 15, 2015 7:55 pm

Updated again. Improved the script to clean it up and moved it to github. Also added a webm to the OP

Work hard; Complain less

Post Reply