An open API service indexing awesome lists of open source software.

https://github.com/httpanimation/weblauncher

A python3 script to auto make web shortcuts in Linux
https://github.com/httpanimation/weblauncher

Last synced: 11 months ago
JSON representation

A python3 script to auto make web shortcuts in Linux

Awesome Lists containing this project

README

          

# WebLauncher

WebLauncher is a simple script that allows you to create a desktop icon to open a specified URL in the default web browser.

## How to Use

### Run the Script

Open your terminal and run the following command:

```bash
python3 -c "$(curl -fsSL https://raw.githubusercontent.com/HttpAnimation/WebLauncher/main/script.py)"
```

This command fetches the script directly from the GitHub repository and executes it using Python.

### Options
```
-p
-h
```
-p will have the script ask for place to but the .desktop file.
-h will put the .desktop file in the same place as the terminal is opened to.

### Follow the Prompts

1. Enter the URL: Provide the URL you want to open.
2. Enter the name for the desktop icon: Choose a name for the desktop icon.

### Desktop Icon

A `.desktop` file will be created on your desktop with the specified name. Double-clicking this icon will open the provided URL in your default web browser.

## Requirements

- Python 3

## Note

Make sure you have Python 3 installed on your system before running the script.