Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

75lb/browse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

view on npm npm module downloads Dependency Status

browse

Launch apps in full-screen mode from the Terminal. Currently Mac OS X only, patches welcome.

Install

Install Node.js, then run

$ npm install -g browse

Usage

Six convenience commands are installed:

Google Chrome Canary

To launch Chrome Canary, run:

$ ca <location>

Google Chrome

To launch Chrome, run:

$ ch <location>

Firefox

To launch Firefox, run:

$ ff <location>

Safari

To launch Safari, run:

$ sf <location>

Launch anything in full-screen

Run the command ccf (an applescript which sends the CMD+CTRL+f keystroke to the active application) following a regular open to switch it to full-screen mode:

$ open -a Calendar && ccf

Should an app have an additional full-screen mode shortcutted by CMD+Shift+f (as Chrome does), use:

$ open -a "Google Chrome" && csf

Tip. If an app is slow to load, give it chance to load fully by inserting a pause before running the keyboard shortcut:

$ ff http://www.rt.com && sleep 3 && csf

About

Terminal commands to launch your preferred browser (or any app) in full-screen mode

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published