Collecting webpages in a simple yaml file and calling them from shell.
- initial call of this tool will create two files at ~/.polpetone-swm
- config.yml: you can change here the browser to use, default is chromim
- webpages.yml: file the webpages are saved
- alias webadd="vim $HOME/.polpetone-swm/webpages.yml"
- sample call:
webadd
-> will open webpages.yml in vim, add a new page, save and closed it. - cp polpetone-swm $HOME/bin/web
- sample call:
web github
-> will open github.com and github.com/polpetone
sample webpages.yml file
search-engine:
- https://google.de
- https://duckduckgo.de
- https://yandex.ru
sport:
- https://sport1.de
- https://kicker.de
-
web sport
: Will open sport1 and kicker webpage in your configured browser -
web search-engine
: Will open google, duckduckgo and yandex in your configured browser -
web something
: "something" is not inwebpages.yml
, in this case the tool will search for "something" at google and duckduckgo and open the results in your configured browser.