pennywise icon indicating copy to clipboard operation
pennywise copied to clipboard

Default website on startup

Open namitoyokota opened this issue 5 years ago • 1 comments

Do you want to request a feature or report a ### bug? Feature What is the current behavior? Opens titles page when the application is opened Expected behavior With the default website feature, when the application is opened, the browser automatically directs you to the default website of your choice URL attempting to access All Screenshots (Optional But May Be Requested)

Pennywise Version: Version 0.6.3 OS / OS Version: MacOS Mojave 10.14.2

namitoyokota avatar Dec 31 '18 11:12 namitoyokota

This is a great idea. I was looking through the source code and found here that it's almost set up for something like this. For now, a workaround is to create an environment variable named APP_URL and assign it a URL. For example (on mac) in my .bashrc file,

export APP_URL=https://tv.youtube.com/

now if you open the app with the command

open -a /Applications/Pennywise.app

it should open the default URL [tv.youtube.com].

You could also set up an alias to run the command above. i.e. alias pennywise='open -a /Applications/Pennywise.app'. Now in your terminal, you can just type pennywise and it will open your "default" URL.

P.S. this will also open devtools as per this line. So you will have to close it.

EDIT

Aperently this pull request #95 adds a url to the commend line args but im not able to get that to work.

drkdelaney avatar Mar 06 '19 18:03 drkdelaney