Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default website on startup #91

Open
namitoyokota opened this issue Dec 31, 2018 · 1 comment
Open

Default website on startup #91

namitoyokota opened this issue Dec 31, 2018 · 1 comment

Comments

@namitoyokota
Copy link

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

@derekedelaney
Copy link

derekedelaney commented Mar 6, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants